summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-10-19 21:04:21 +0000
committerZac Medico <zmedico@gentoo.org>2009-10-19 21:04:21 +0000
commit2a660a7704e444f2d3a9fae5629869f88fac0ce2 (patch)
tree2867bc6d2c7109f8aa6f2f0578e870e97ff8cd60
parentIn calc_depclean(), Rename 'selected' to 'world', since 'selected' is currently (diff)
downloadportage-multirepo-2a660a7704e444f2d3a9fae5629869f88fac0ce2.tar.gz
portage-multirepo-2a660a7704e444f2d3a9fae5629869f88fac0ce2.tar.bz2
portage-multirepo-2a660a7704e444f2d3a9fae5629869f88fac0ce2.zip
drop IMAGE -- people have had years to catch up (trunk r14694)
svn path=/main/branches/2.1.7/; revision=14697
-rwxr-xr-xbin/ebuild.sh4
-rwxr-xr-xbin/isolated-functions.sh2
-rw-r--r--pym/portage/__init__.py2
3 files changed, 2 insertions, 6 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index b94e81df..658ac64a 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -79,10 +79,6 @@ unset GZIP BZIP BZIP2 CDPATH GREP_OPTIONS GREP_COLOR GLOBIGNORE
source "${PORTAGE_BIN_PATH}/isolated-functions.sh" &>/dev/null
-# Set IMAGE for minimal backward compatibility with
-# overlays or user's bashrc, but don't export it.
-[ "${EBUILD_PHASE}" == "preinst" ] && IMAGE=${D}
-
[[ $PORTAGE_QUIET != "" ]] && export PORTAGE_QUIET
# the sandbox is disabled by default except when overridden in the relevant stages
diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh
index 94afc910..080ace85 100755
--- a/bin/isolated-functions.sh
+++ b/bin/isolated-functions.sh
@@ -547,7 +547,7 @@ save_ebuild_env() {
DISTCC_DIR DISTDIR DOC_SYMLINKS_DIR \
EBUILD_EXIT_STATUS_FILE EBUILD_FORCE_TEST EBUILD_MASTER_PID \
ECLASSDIR ECLASS_DEPTH ENDCOL FAKEROOTKEY \
- GOOD HILITE HOME IMAGE \
+ GOOD HILITE HOME \
LAST_E_CMD LAST_E_LEN LD_PRELOAD MISC_FUNCTIONS_ARGS MOPREFIX \
NOCOLOR NORMAL PKGDIR PKGUSE PKG_LOGDIR PKG_TMPDIR \
PORTAGE_ACTUAL_DISTDIR PORTAGE_ARCHLIST \
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 57a894f4..5c2a8346 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -3974,7 +3974,7 @@ def spawn(mystring, mysettings, debug=0, free=0, droppriv=0, sesandbox=0, fakero
Optiosn include:
Sandbox: Sandbox means the spawned process will be limited in its ability t
- read and write files (normally this means it is restricted to ${IMAGE}/)
+ read and write files (normally this means it is restricted to ${D}/)
SElinux Sandbox: Enables sandboxing on SElinux
Reduced Privileges: Drops privilages such that the process runs as portage:portage
instead of as root.