diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-12-11 21:41:55 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-12-11 21:41:55 +0000 |
commit | 0cdbeb9df98378c99cfa629b7e420de1d76a7c38 (patch) | |
tree | b617a097595161eaeaa58a2a2380a201aed021aa /bin/ebuild.sh | |
parent | c3fbd6923e98f84d31f7463378d0c65eef215a1f (diff) | |
download | portage-0cdbeb9df98378c99cfa629b7e420de1d76a7c38.tar.gz portage-0cdbeb9df98378c99cfa629b7e420de1d76a7c38.tar.bz2 portage-0cdbeb9df98378c99cfa629b7e420de1d76a7c38.zip |
* When installing a binary package, export the file name of the package
as PORTAGE_BINPKG_FILE in order to give bashrc users an opportunity
to do various things such as remove binary packages after they're
installed.
* Add a note in ebuild.sh explaining why hardcoded bash lists are
needed for backward compatibility with <portage-2.1.4 since they
assume that a newly installed version of ebuild.sh will work for
pkg_postinst, pkg_prerm, and pkg_postrm when portage is upgrading
itself.
(trunk r8878)
svn path=/main/branches/2.1.2/; revision=8881
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-x | bin/ebuild.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index f1d42bd01..fbccce70c 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1355,12 +1355,17 @@ source_all_bashrcs() { [ ! -z "${OCXX}" ] && export CXX="${OCXX}" } +# Hardcoded bash lists are needed for backward compatibility with +# <portage-2.1.4 since they assume that a newly installed version +# of ebuild.sh will work for pkg_postinst, pkg_prerm, and pkg_postrm +# when portage is upgrading itself. + READONLY_EBUILD_METADATA="DEPEND DESCRIPTION EAPI HOMEPAGE INHERITED IUSE KEYWORDS LICENSE PDEPEND PROVIDE RDEPEND RESTRICT SLOT SRC_URI" READONLY_PORTAGE_VARS="D EBUILD EBUILD_PHASE \ - EBUILD_SH_ARGS EMERGE_FROM FILESDIR \ + EBUILD_SH_ARGS EMERGE_FROM FILESDIR PORTAGE_BINPKG_FILE \ PORTAGE_BIN_PATH PORTAGE_PYM_PATH PORTAGE_MUTABLE_FILTERED_VARS \ PORTAGE_SAVED_READONLY_VARS PORTAGE_TMPDIR T WORKDIR" |