From 9e2d985e6d5480449c8b5b9880d240011297d6eb Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 22 Apr 2006 19:46:07 +0000 Subject: Disable sandbox during package phase interaction with $PKGDIR for compatibility with symlinks (See bug #130824). svn path=/main/trunk/; revision=3189 --- bin/misc-functions.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index c6776807b..50d9e0379 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -349,7 +349,9 @@ dyn_package() { install_mask "${PORTAGE_BUILDDIR}/image" ${PKG_INSTALL_MASK} local pkg_dest="${PKGDIR}/All/${PF}.tbz2" local pkg_tmp="${PKGDIR}/All/${PF}.tbz2.$$" - addwrite "${PKGDIR}" + # Sandbox is disabled in case the user wants to use a symlink + # for $PKGDIR and/or $PKGDIR/All. + export SANDBOX_ON="0" tar cpvf - ./ | bzip2 -f > "${pkg_tmp}" || die "Failed to create tarball" cd .. python -c "import xpak; t=xpak.tbz2('${pkg_tmp}'); t.recompose('${PORTAGE_BUILDDIR}/build-info')" -- cgit v1.2.3-1-g7c22