From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:master commit in: man/
Date: Wed, 10 Jul 2019 20:26:41 +0000 (UTC) [thread overview]
Message-ID: <1562790374.5cc59a0064f2b6a79f87d6975354033eba29beaf.zmedico@gentoo> (raw)
commit: 5cc59a0064f2b6a79f87d6975354033eba29beaf
Author: Daniel Robbins <drobbins <AT> funtoo <DOT> org>
AuthorDate: Wed Jul 10 02:14:55 2019 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Wed Jul 10 20:26:14 2019 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=5cc59a00
Improvements for man 5 ebuild to reflect EAPI 7 changes.
Closes: https://github.com/gentoo/portage/pull/437
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
man/ebuild.5 | 24 ++++++++++++++++++++++--
1 file changed, 22 insertions(+), 2 deletions(-)
diff --git a/man/ebuild.5 b/man/ebuild.5
index 20684d8f4..7742ffbce 100644
--- a/man/ebuild.5
+++ b/man/ebuild.5
@@ -411,6 +411,9 @@ should be prefixed with ${D}.
Beginning with \fBEAPI 3\fR, the offset prefix often needs
to be taken into account here, for which the variable
${ED} is provided (see below).
+Note that with \fBEAPI 7\fR, any trailing slash
+contained in this path will be automatically removed for ease of concatenating
+paths within ebuilds.
Do not modify this variable.
.TP
.B ED\fR = \fI"${PORTAGE_TMPDIR}/portage/${CATEGORY}/${PF}/image/${EPREFIX}/"
@@ -418,7 +421,9 @@ Beginning with \fBEAPI 3\fR, contains the path
"${D%/}${EPREFIX}/" for convenience purposes.
For EAPI values prior to \fBEAPI 3\fR which do
not support ED, helpers use \fBD\fR where
-they would otherwise use ED.
+they would otherwise use ED. Note that with \fBEAPI 7\fR, any trailing slash
+contained in this path will be automatically removed for ease of concatenating
+paths within ebuilds.
Do not modify this variable.
.TP
.B MERGE_TYPE
@@ -477,6 +482,18 @@ excluded during generation of \fBREQUIRES\fR metadata (see
possible to create patterns containing quoted whitespace.
.TP
.B ROOT\fR = \fI"/"
+Please note an important recent change regarding the ROOT variable -- in \fBEAPI 7\fR ebuilds,
+this variable will default to "" rather than the traditional "/" within ebuilds
+when pointing to the root filesystem, and when set to a non-root path
+this variable will never contain a trailing slash. This has the added
+convenience of eliminating the need to
+specify "${ROOT%/}" when concatenating paths, making the use of ROOT
+more elegant. This applies to the variables EROOT, D and ED as well. Please
+make note that this will
+mean that ebuilds must use different logic in conditionals to determine if
+they are installing to the root filesystem -- use [[ "$ROOT" == "" ]] instead of
+[[ "$ROOT" == "/" ]].
+
Contains the path that portage should use as the root of the live filesystem.
When packages wish to make changes to the live filesystem, they should do so in
the tree prefixed by ${ROOT}. Often the offset prefix needs to be taken
@@ -486,7 +503,10 @@ below). Do not modify this variable.
.B EROOT\fR = \fI"${ROOT%/}${EPREFIX}/"
Beginning with \fBEAPI 3\fR, contains
"${ROOT%/}${EPREFIX}/" for convenience
-purposes. Do not modify this variable.
+purposes. Do not modify this variable. Also see the important note regarding
+ROOT with \fBEAPI 7\fR, above. As with ROOT, EROOT will be defined as ""
+when set to the root filesystem and never have a trailing slash within an
+ebuild.
.TP
.B BROOT\fR = \fI"${EPREFIX}"
Beginning with \fBEAPI 7\fR, the absolute path to the root directory
next reply other threads:[~2019-07-10 20:26 UTC|newest]
Thread overview: 275+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-10 20:26 Zac Medico [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-20 16:30 [gentoo-commits] proj/portage:master commit in: man/ Zac Medico
2024-08-15 17:28 Mike Gilbert
2024-05-26 19:12 Zac Medico
2024-05-13 5:43 Sam James
2024-04-28 0:04 Sam James
2024-03-28 4:26 Sam James
2023-12-18 5:30 John Helmert III
2023-11-11 7:24 Sam James
2023-10-11 18:34 Mike Gilbert
2023-10-06 1:30 Sam James
2023-09-16 5:50 Sam James
2023-09-16 5:48 Sam James
2023-08-08 4:51 Sam James
2023-04-07 9:52 Sam James
2023-04-07 6:41 Ulrich Müller
2023-04-07 6:41 Ulrich Müller
2023-02-26 21:55 Sam James
2023-02-26 21:55 Sam James
2023-02-15 5:49 Sam James
2023-01-14 16:41 Sam James
2022-12-21 1:28 Sam James
2022-10-10 19:49 Sam James
2022-10-10 19:49 Sam James
2022-10-10 19:49 Sam James
2022-10-10 19:49 Sam James
2022-08-12 16:07 Zac Medico
2022-07-20 3:44 Sam James
2022-07-20 3:44 Sam James
2022-07-20 3:38 Sam James
2022-07-20 2:09 Sam James
2022-07-20 2:09 Sam James
2022-07-20 2:09 Sam James
2022-07-19 0:18 Sam James
2022-07-18 20:22 Sam James
2022-07-18 20:14 Sam James
2022-07-18 20:14 Sam James
2022-07-18 19:37 Sam James
2022-07-18 19:37 Sam James
2022-07-18 19:37 Sam James
2022-07-18 19:37 Sam James
2022-07-18 19:37 Sam James
2022-04-24 21:47 Zac Medico
2021-08-15 20:58 Sam James
2021-07-04 23:00 Zac Medico
2021-05-24 6:47 Zac Medico
2021-04-25 3:39 Zac Medico
2021-04-25 3:39 Zac Medico
2021-04-05 20:42 Zac Medico
2021-03-06 8:41 Zac Medico
2021-02-27 7:56 Zac Medico
2021-02-22 12:31 Zac Medico
2021-02-01 18:08 Zac Medico
2021-01-18 18:20 Ulrich Müller
2020-09-08 1:17 Zac Medico
2020-09-07 23:41 Zac Medico
2020-09-06 1:14 Zac Medico
2020-07-07 20:15 Zac Medico
2020-06-30 19:15 Mike Frysinger
2020-03-14 19:02 Zac Medico
2019-11-27 3:19 Zac Medico
2019-11-21 20:11 Zac Medico
2019-10-12 7:26 Michał Górny
2019-09-29 21:51 Zac Medico
2019-09-11 9:49 Mike Frysinger
2019-09-01 22:11 Zac Medico
2019-09-01 19:03 Zac Medico
2019-09-01 4:59 Zac Medico
2019-08-31 3:44 Zac Medico
2019-08-26 18:13 Zac Medico
2019-07-29 8:54 Ulrich Müller
2019-07-29 8:54 Ulrich Müller
2019-06-19 21:19 Zac Medico
2019-03-17 20:49 Zac Medico
2019-03-17 20:49 Zac Medico
2019-03-17 20:31 Zac Medico
2018-12-20 23:10 Mike Frysinger
2018-12-20 4:29 Zac Medico
2018-10-02 17:20 Mike Frysinger
2018-08-29 18:17 Zac Medico
2018-05-01 16:26 Zac Medico
2018-04-13 21:13 Zac Medico
2018-01-13 10:11 Zac Medico
2018-01-13 10:11 Zac Medico
2018-01-09 18:49 Mike Frysinger
2018-01-09 18:49 Mike Frysinger
2018-01-09 18:49 Mike Frysinger
2017-10-24 10:35 Ulrich Müller
2017-10-14 20:47 Ulrich Müller
2017-10-09 18:25 Manuel Rüger
2017-05-30 9:57 Zac Medico
2017-04-22 7:56 Zac Medico
2017-02-28 20:39 Zac Medico
2017-01-26 18:49 Zac Medico
2017-01-08 23:44 Zac Medico
2016-12-14 21:05 Zac Medico
2016-02-02 20:46 Alexander Berntsen
2015-11-25 0:05 Mike Frysinger
2015-09-22 16:40 Brian Dolbec
2015-09-20 2:27 Brian Dolbec
2015-09-20 2:27 Brian Dolbec
2015-07-20 21:48 Brian Dolbec
2015-06-18 12:27 Alexander Berntsen
2015-05-30 18:34 Brian Dolbec
2015-05-19 10:54 Alexander Berntsen
2015-05-18 23:19 Brian Dolbec
2015-05-18 23:19 Brian Dolbec
2015-03-04 20:39 Brian Dolbec
2015-03-04 20:39 Brian Dolbec
2015-02-28 17:34 Pavel Kazakov
2015-02-26 6:33 Mike Frysinger
2015-02-24 0:38 Zac Medico
2015-02-18 18:24 Mike Frysinger
2015-02-08 17:41 [gentoo-commits] proj/portage:v2.2.16 " Brian Dolbec
2015-02-05 21:16 ` [gentoo-commits] proj/portage:master " Brian Dolbec
2015-02-08 17:41 [gentoo-commits] proj/portage:v2.2.16 " Brian Dolbec
2015-02-08 17:40 ` [gentoo-commits] proj/portage:master " Brian Dolbec
2015-02-06 19:46 Brian Dolbec
2015-02-04 21:54 [gentoo-commits] proj/portage:v2.2.16 " Brian Dolbec
2015-02-04 21:53 ` [gentoo-commits] proj/portage:master " Brian Dolbec
2015-01-24 17:40 Michał Górny
2015-01-05 20:09 Zac Medico
2015-01-05 20:02 Zac Medico
2014-12-08 15:38 Zac Medico
2014-11-10 18:33 Zac Medico
2014-07-19 13:51 Alexander Berntsen
2014-06-14 21:55 Alexander Berntsen
2014-04-18 21:15 Arfrever Frehtes Taifersar Arahesis
2014-03-14 10:33 Alexander Berntsen
2014-03-02 8:46 Brian Dolbec
2014-01-23 1:07 Mike Frysinger
2014-01-23 1:06 Mike Frysinger
2014-01-08 13:43 Arfrever Frehtes Taifersar Arahesis
2014-01-05 22:23 Mike Frysinger
2014-01-05 19:09 Mike Frysinger
2013-12-03 15:26 Arfrever Frehtes Taifersar Arahesis
2013-12-02 15:14 Arfrever Frehtes Taifersar Arahesis
2013-12-02 1:23 Brian Dolbec
2013-12-02 1:23 Brian Dolbec
2013-08-12 22:40 Zac Medico
2013-08-12 22:22 Zac Medico
2013-08-12 22:20 Zac Medico
2013-08-12 22:14 Zac Medico
2013-08-12 2:33 Zac Medico
2013-08-11 22:30 Zac Medico
2013-08-08 17:11 Zac Medico
2013-07-31 21:59 Zac Medico
2013-07-30 23:09 Zac Medico
2013-07-30 23:04 Zac Medico
2013-07-30 22:45 Zac Medico
2013-07-30 19:13 Zac Medico
2013-07-30 19:13 Zac Medico
2013-07-25 22:43 Zac Medico
2013-07-24 21:22 Zac Medico
2013-07-23 22:52 Arfrever Frehtes Taifersar Arahesis
2013-07-22 19:20 Zac Medico
2013-07-22 4:44 Arfrever Frehtes Taifersar Arahesis
2013-07-06 19:24 Zac Medico
2013-06-24 9:30 Arfrever Frehtes Taifersar Arahesis
2013-06-18 17:57 Zac Medico
2013-06-18 16:35 Zac Medico
2013-06-13 0:14 Zac Medico
2013-06-09 23:30 Zac Medico
2013-05-24 2:23 Zac Medico
2013-05-17 16:08 Zac Medico
2013-05-15 21:23 Zac Medico
2013-05-01 21:05 Zac Medico
2013-04-24 3:51 Zac Medico
2013-04-23 3:20 Zac Medico
2013-04-08 0:32 Zac Medico
2013-04-04 16:48 Zac Medico
2013-04-04 14:23 Zac Medico
2013-04-03 3:12 Zac Medico
2013-04-02 19:57 Mike Frysinger
2013-03-24 19:23 Zac Medico
2013-03-23 19:45 Zac Medico
2013-03-01 3:40 Mike Frysinger
2013-02-01 2:33 Zac Medico
2013-01-30 16:32 Zac Medico
2013-01-30 16:04 Zac Medico
2013-01-28 21:03 Mike Frysinger
2013-01-21 16:52 Zac Medico
2013-01-15 22:42 Mike Frysinger
2013-01-15 21:44 Zac Medico
2013-01-15 11:10 Zac Medico
2013-01-11 8:08 Zac Medico
2013-01-10 7:17 Zac Medico
2012-12-28 21:44 Zac Medico
2012-12-28 21:36 Zac Medico
2012-12-28 21:22 Zac Medico
2012-11-28 12:14 Zac Medico
2012-10-14 21:38 Zac Medico
2012-09-25 17:29 Zac Medico
2012-09-25 16:50 Zac Medico
2012-09-25 16:50 Zac Medico
2012-09-25 16:50 Zac Medico
2012-09-25 2:19 Zac Medico
2012-09-24 21:43 Zac Medico
2012-09-24 21:01 Zac Medico
2012-09-24 20:28 Zac Medico
2012-09-24 20:28 Zac Medico
2012-09-24 2:44 Zac Medico
2012-09-24 2:44 Zac Medico
2012-09-24 2:44 Zac Medico
2012-09-24 2:44 Zac Medico
2012-09-24 2:44 Zac Medico
2012-09-24 2:44 Zac Medico
2012-09-22 17:08 Zac Medico
2012-09-21 21:51 Zac Medico
2012-09-16 18:59 Zac Medico
2012-09-16 18:24 Zac Medico
2012-09-16 18:13 Zac Medico
2012-09-16 17:47 Zac Medico
2012-09-15 20:54 Zac Medico
2012-09-15 20:43 Zac Medico
2012-09-15 20:27 Zac Medico
2012-09-15 19:58 Zac Medico
2012-09-15 19:53 Zac Medico
2012-09-15 19:39 Zac Medico
2012-09-15 19:26 Zac Medico
2012-09-15 19:12 Zac Medico
2012-09-15 19:09 Zac Medico
2012-09-14 18:10 Zac Medico
2012-09-04 1:06 Zac Medico
2012-08-22 20:36 Zac Medico
2012-08-19 21:34 Zac Medico
2012-08-05 20:35 Zac Medico
2012-07-20 20:16 Zac Medico
2012-07-10 5:42 Mike Frysinger
2012-06-30 20:51 Zac Medico
2012-06-29 20:41 Mike Frysinger
2012-06-23 0:45 Zac Medico
2012-06-23 0:29 Zac Medico
2012-06-02 3:05 Zac Medico
2012-06-01 3:16 Mike Frysinger
2012-05-08 16:38 Zac Medico
2012-04-13 18:30 Zac Medico
2012-03-30 0:17 Zac Medico
2012-03-08 23:26 Mike Frysinger
2012-02-17 23:33 Zac Medico
2012-01-21 4:01 Zac Medico
2012-01-20 4:46 Zac Medico
2012-01-02 23:01 Zac Medico
2011-12-24 11:30 Zac Medico
2011-12-22 23:57 Arfrever Frehtes Taifersar Arahesis
2011-12-21 19:37 Zac Medico
2011-12-16 20:55 Zac Medico
2011-12-15 18:49 Zac Medico
2011-12-15 18:04 Zac Medico
2011-12-07 19:21 Zac Medico
2011-11-30 20:27 Mike Frysinger
2011-11-21 15:00 Zac Medico
2011-10-29 8:16 Zac Medico
2011-10-29 8:11 Zac Medico
2011-10-27 4:43 Zac Medico
2011-10-26 22:00 Zac Medico
2011-10-23 21:13 Zac Medico
2011-10-21 8:51 Zac Medico
2011-10-17 2:56 Zac Medico
2011-10-16 19:44 Zac Medico
2011-10-14 14:56 Zac Medico
2011-10-13 2:51 Mike Frysinger
2011-09-23 17:56 Zac Medico
2011-09-13 6:07 Zac Medico
2011-08-31 18:14 Zac Medico
2011-08-22 20:36 Zac Medico
2011-07-08 16:57 Zac Medico
2011-07-07 8:10 Zac Medico
2011-06-19 19:44 Zac Medico
2011-06-09 22:08 Zac Medico
2011-05-30 22:27 Zac Medico
2011-05-26 18:35 Zac Medico
2011-02-22 17:58 Zac Medico
2011-02-22 17:31 Zac Medico
2011-02-22 2:21 Zac Medico
2011-02-13 8:58 Zac Medico
2011-02-08 19:55 Zac Medico
2011-02-07 21:26 Zac Medico
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1562790374.5cc59a0064f2b6a79f87d6975354033eba29beaf.zmedico@gentoo \
--to=zmedico@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox