diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-03-08 08:18:09 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-03-08 08:18:09 +0000 |
commit | bfb3363e00cf8a5658f2e7f4b35d27c812abc50d (patch) | |
tree | a1fdbc6f638edfefd41272729d9f585138dcb5ba | |
parent | eac80379527df3ec32fc59fc12848cae4e17e244 (diff) | |
download | portage-bfb3363e00cf8a5658f2e7f4b35d27c812abc50d.tar.gz portage-bfb3363e00cf8a5658f2e7f4b35d27c812abc50d.tar.bz2 portage-bfb3363e00cf8a5658f2e7f4b35d27c812abc50d.zip |
Move PKG_INSTALL_MASK functionality (see bug #81025) from dyn_install to dyn_package because we don't want PKG_INSTALL_MASK to affect the install phase (INSTALL_MASK is in dyn_preinst).
svn path=/main/trunk/; revision=2826
-rwxr-xr-x | bin/ebuild.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 546182ee4..f7931b63f 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1001,6 +1001,7 @@ dyn_compile() { dyn_package() { trap "abort_package" SIGINT SIGQUIT cd "${PORTAGE_BUILDDIR}/image" + install_mask "${PORTAGE_BUILDDIR}/image" ${PKG_INSTALL_MASK} tar cpvf - ./ | bzip2 -f > ../bin.tar.bz2 || die "Failed to create tarball" cd .. xpak build-info inf.xpak @@ -1069,9 +1070,6 @@ dyn_install() { prepall cd "${D}" - # Allow user to remove unwanted files. - install_mask "${D}" ${PKG_INSTALL_MASK} - declare -i UNSAFE=0 for i in $(find "${D}/" -type f -perm -2002); do ((UNSAFE++)) |