From 2a660a7704e444f2d3a9fae5629869f88fac0ce2 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 19 Oct 2009 21:04:21 +0000 Subject: [PATCH] drop IMAGE -- people have had years to catch up (trunk r14694) svn path=/main/branches/2.1.7/; revision=14697 --- bin/ebuild.sh | 4 ---- bin/isolated-functions.sh | 2 +- pym/portage/__init__.py | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index b94e81df2..658ac64af 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 94afc9104..080ace85e 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 57a894f40..5c2a83460 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. -- 2.26.2