From c1edb7a9bb5162b0781cfbebd475a65562aa6dd7 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 10 Dec 2011 22:51:56 -0800 Subject: Remove _SANDBOX_COMPAT_LEVEL. --- bin/ebuild.sh | 9 --------- bin/phase-functions.sh | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) (limited to 'bin') diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 1f95adb82..af7b3a92b 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -40,15 +40,6 @@ else unset x fi -if [[ $PORTAGE_SANDBOX_COMPAT_LEVEL -lt 22 ]] ; then - # Ensure that /dev/std* streams have appropriate sandbox permission for - # bug #288863. This can be removed after sandbox is fixed and portage - # depends on the fixed version (sandbox-2.2 has the fix but it is - # currently unstable). - export SANDBOX_WRITE="${SANDBOX_WRITE:+${SANDBOX_WRITE}:}/dev/stdout:/dev/stderr" - export SANDBOX_READ="${SANDBOX_READ:+${SANDBOX_READ}:}/dev/stdin" -fi - # Don't use sandbox's BASH_ENV for new shells because it does # 'source /etc/profile' which can interfere with the build # environment by modifying our PATH. diff --git a/bin/phase-functions.sh b/bin/phase-functions.sh index f862b30fe..bd8708c73 100644 --- a/bin/phase-functions.sh +++ b/bin/phase-functions.sh @@ -23,7 +23,7 @@ PORTAGE_READONLY_VARS="D EBUILD EBUILD_PHASE \ PORTAGE_IPC_DAEMON PORTAGE_IUSE PORTAGE_LOG_FILE \ PORTAGE_MUTABLE_FILTERED_VARS PORTAGE_PYM_PATH PORTAGE_PYTHON \ PORTAGE_READONLY_METADATA PORTAGE_READONLY_VARS \ - PORTAGE_REPO_NAME PORTAGE_RESTRICT PORTAGE_SANDBOX_COMPAT_LEVEL \ + PORTAGE_REPO_NAME PORTAGE_RESTRICT \ PORTAGE_SAVED_READONLY_VARS PORTAGE_SIGPIPE_STATUS \ PORTAGE_TMPDIR PORTAGE_UPDATE_ENV PORTAGE_USERNAME \ PORTAGE_VERBOSE PORTAGE_WORKDIR_MODE PORTDIR PORTDIR_OVERLAY \ -- cgit v1.2.3-1-g7c22