diff options
authorJames Le Cuirot <chewi@gentoo.org>2019-07-09 21:58:41 +0100
committerJames Le Cuirot <chewi@gentoo.org>2019-07-09 22:16:57 +0100
commit9c28a2d155a6aecb9e1b227778ccde8e6349233d (patch)
treeeedbfb5a84e3594cf8859abd088867f88f4b0df6 /wrappers/emerge-wrapper
parentcrossdev: disable USE=hardened by default on bare-metal (diff)
cross-emerge: Default to using no prefixbug_642604
On non-prefixed systems, cross-emerge installs to /usr/${CHOST} by default. On prefixed systems, this default effectively becomes ${BROOT}/usr/${CHOST}/${BROOT}, which is unexpected and makes little sense. The first BROOT originates from the ROOT setting in the cross make.conf. The second BROOT is the prefix that Portage is configured to use by default. We therefore need to avoid the second BROOT by overriding Portage with a blank EPREFIX value. Note that a bug in Portage itself means that this is ineffective on versions before 2.3.69 but it's no worse than it was before either. For users who do want to set their own EPREFIX, the PORTAGE_CONFIGROOT default has been updated to ${SYSROOT}${EPREFIX} as the prefixed location is required for this variable. This is despite man emerge suggesting otherwise! Closes: https://bugs.gentoo.org/642604 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'wrappers/emerge-wrapper')
0 files changed, 0 insertions, 0 deletions