diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-02-21 19:15:18 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-02-21 19:15:18 -0500 |
commit | f48733f5a7aeeaacc5c9285e0659d2d3ec7d7e25 (patch) | |
tree | 39a70945fe9a774f529745ff72458f2fe1a58242 | |
parent | cross-fix-root: handle no config scripts case (diff) | |
download | crossdev-f48733f5a7aeeaacc5c9285e0659d2d3ec7d7e25.tar.gz crossdev-f48733f5a7aeeaacc5c9285e0659d2d3ec7d7e25.tar.bz2 crossdev-f48733f5a7aeeaacc5c9285e0659d2d3ec7d7e25.zip |
bashrc: fix cross-fix-root comment to reflect reality
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | wrappers/etc/portage/bashrc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/wrappers/etc/portage/bashrc b/wrappers/etc/portage/bashrc index 8c1f5ff..9d85e95 100644 --- a/wrappers/etc/portage/bashrc +++ b/wrappers/etc/portage/bashrc @@ -11,7 +11,11 @@ post_src_install() { [[ $output != "" ]] && { echo; echo "* Wrong EM_TYPE. Expected ${E_MACHINE}"; echo -e "${output}"; echo; exit 1; } } -# We dont functionize this to avoid sandboxing. +# We don't run this on the assumption that when you're +# emerging binary packages, it's into a runtime ROOT +# rather than build development ROOT. The former doesn't +# want hacking while the latter does. We should have a +# better way of detecting this ... maybe check SYSROOT ? if [[ $EBUILD_PHASE == "postinst" ]]; then [[ $EMERGE_FROM != binary ]] && cross-fix-root ${CHOST} fi |