summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* enable FEATURES=preserve-libs globally for extended testingMarius Mauch2007-12-041-0/+3
| | | | svn path=/main/trunk/; revision=8838
* make sure we only remove files that were previously preservedMarius Mauch2007-12-041-2/+6
| | | | svn path=/main/trunk/; revision=8837
* Remove redundant config.load_infodir() calls fromZac Medico2007-12-032-2/+0
| | | | | | | portage.pkgmerge() and dblink.unmerge() since it's already called in doebuild.() svn path=/main/trunk/; revision=8835
* Synchronize the conditional that triggers "${T}"/environmentZac Medico2007-12-031-4/+3
| | | | | | | generation with the conditional that triggers distcc and ccache FEATURES setup. svn path=/main/trunk/; revision=8833
* Fix typo in config.load_infodir() return value logic.Zac Medico2007-12-031-1/+1
| | | | svn path=/main/trunk/; revision=8831
* * Don't load the CATEGORY in config.load_infodir() since this value isZac Medico2007-12-032-23/+23
| | | | | | | | critical for doebuild() operation and we already know the category. * Always call config.setcpv() prior to config.load_infodir() so that the CATEGORY is always known. svn path=/main/trunk/; revision=8830
* Bug #201090 - When portage creates a temp PORTAGE_BIN_PATH, put itZac Medico2007-12-031-1/+4
| | | | | | | inside PORTAGE_TMPDIR since, unlike /tmp, it can't be mounted with the "noexec" option. svn path=/main/trunk/; revision=8828
* Make config.load_infodir() more fault tolerant for cases like bugZac Medico2007-12-031-5/+16
| | | | | | #201082. svn path=/main/trunk/; revision=8826
* update TODO listMarius Mauch2007-12-031-2/+3
| | | | svn path=/main/trunk/; revision=8825
* revert accidential commitMarius Mauch2007-12-031-1/+0
| | | | svn path=/main/trunk/; revision=8824
* Bug #201082 - Don't call config.load_infodir() prior to pkg_postinst()Zac Medico2007-12-031-1/+0
| | | | | | | | | because it's not needed and the ebuild path that's passed in for postinst is may be from the portage tree, which causes load_infodir() to discard critical metadata such as CATEGORY without realoading it. svn path=/main/trunk/; revision=8822
* implement the final part of FEATURES=preserved-libs and remove previously ↵Marius Mauch2007-12-035-4/+46
| | | | | | preserved libs that don't have any consumers left. Also fix the notice if preserved libs are found to use the preserved-rebuild package set instead of revdep-rebuild. svn path=/main/trunk/; revision=8821
* * whitelist CCACHE_* and DISTCC_* variables in config.environ()Zac Medico2007-12-032-1/+7
| | | | | | * unset CCACHE_* and DISTCC_* variables in save_ebuild_env() svn path=/main/trunk/; revision=8818
* For compatibility with cvs.eclass, do not unset CVS_RSH inZac Medico2007-12-021-1/+1
| | | | | | | save_ebuild_env() since that variable may be initialized in global scope. svn path=/main/trunk/; revision=8816
* Convert caterror() to call warn() instead of err() sinceZac Medico2007-12-021-1/+4
| | | | | | we don't want to exit here. svn path=/main/trunk/; revision=8808
* Add back missing err() function.Zac Medico2007-12-021-0/+7
| | | | svn path=/main/trunk/; revision=8807
* Fix useq() so that it won't generate a bogus IUSE QA NoticeZac Medico2007-12-021-0/+2
| | | | | | | if called during the "depend" phase with a flag that uses IUSE defaults. svn path=/main/trunk/; revision=8805
* Synchronize self-reinstallation logic so that emerge will alwaysZac Medico2007-12-022-6/+3
| | | | | | | restart itself when dblink.merge() creates temporary copies of PORTAGE_{BIN,PYM}_PATH. svn path=/main/trunk/; revision=8803
* In dblink.treewalk(), tweak the "Safely unmergingZac Medico2007-12-021-9/+13
| | | | | | | already-installed instance" logic to make sure that it works in all possible cases. svn path=/main/trunk/; revision=8801
* For portage.spawn() calls, use a _shell_quote() function to quoteZac Medico2007-12-021-15/+35
| | | | | | the path of the binary since. svn path=/main/trunk/; revision=8798
* * whitelist some misc variables from the calling environmentZac Medico2007-12-012-4/+13
| | | | | | | | * blacklist the same variables in save_ebuild_env() so that the latest values from the calling environment always override those from the ebuild environment svn path=/main/trunk/; revision=8796
* Show the pid in the "starting parallel fetching" message.Zac Medico2007-12-011-1/+2
| | | | svn path=/main/trunk/; revision=8794
* When os.waitid() raises OSError, discard the pid since there'sZac Medico2007-12-011-2/+3
| | | | | | no need to wait on it again. svn path=/main/trunk/; revision=8792
* After each merge, collect status from child processesZac Medico2007-12-011-2/+33
| | | | | | | in order to clean up zombies (such as the parallel-fetch process). svn path=/main/trunk/; revision=8791
* Move duplicate module loading code into a function.Zac Medico2007-12-011-17/+13
| | | | svn path=/main/trunk/; revision=8789
* Add missing newline after message.Zac Medico2007-12-011-1/+2
| | | | svn path=/main/trunk/; revision=8787
* In create_trees(), when isolating the environment of the ROOT=/ config,Zac Medico2007-12-011-2/+4
| | | | | | | use it's env.d keys as a blacklist to make env.d override the calling environment. svn path=/main/trunk/; revision=8785
* When die has been called and ${T}/environment does not exist,Zac Medico2007-12-011-1/+8
| | | | | | | dump the current environment to ${T}/die.env in case it helps for debugging. svn path=/main/trunk/; revision=8783
* * whitelist PREROOTPATH in config.environ()Zac Medico2007-12-012-2/+3
| | | | | | * filter PREROOTPATH in save_ebuild_env() svn path=/main/trunk/; revision=8781
* * whitelist DISTDIR, PORTDIR, and PORTAGE_TMPDIR, PORTAGE_WORKDIR_MODE.Zac Medico2007-12-011-4/+12
| | | | | | * whitelist RPMDIR just for the "rpm" phase. svn path=/main/trunk/; revision=8779
* Update comments about ROOTPATH:Zac Medico2007-12-011-1/+2
| | | | | | | sandbox's bashrc sources /etc/profile which unsets ROOTPATH, so we have to back it up and restore it svn path=/main/trunk/; revision=8777
* Update comments about ROOTPATH:Zac Medico2007-12-011-1/+2
| | | | | | | sandbox's bashrc sources /etc/profile which unsets ROOTPATH, so we have to back it up and restore it. svn path=/main/trunk/; revision=8776
* Fix quoting for PORTAGE_ROOTPATH.Zac Medico2007-12-011-1/+1
| | | | svn path=/main/trunk/; revision=8774
* In doebuild_environment(), fix KV logic so that it neverZac Medico2007-12-011-1/+2
| | | | | | | gets set during the "depend" phase. Also, use backup_changes() to properly cache the result. svn path=/main/trunk/; revision=8771
* Bug #200863 - Don't filter ${KV} since kernel-2.eclass uses thatZac Medico2007-12-011-1/+1
| | | | | | variable and we don't want to interfere. svn path=/main/trunk/; revision=8770
* sandbox unsets ROOTPATH, so we have to back it up on the pythonZac Medico2007-11-302-1/+12
| | | | | | side then restore it on the bash side. svn path=/main/trunk/; revision=8768
* Bug #200775 - Save more portage generated environmentZac Medico2007-11-302-8/+21
| | | | | | | variables that are in environment.bz2 so that they are available for use by tools such as epm. svn path=/main/trunk/; revision=8765
* Add some variables such as TERM to the whitelist of variablesZac Medico2007-11-301-2/+13
| | | | | | | from the calling environment that are allowed into the ebuild environment. svn path=/main/trunk/; revision=8763
* Don't use sandbox's BASH_ENV for new shells because it doesZac Medico2007-11-301-0/+4
| | | | | | | 'source /etc/profile' which can interfere with the build environment by modifying our PATH. svn path=/main/trunk/; revision=8761
* Make config.environ() export PKGDIR to the ebuild environmentZac Medico2007-11-301-0/+7
| | | | | | | during the "package" phase since it's currently referenced there. svn path=/main/trunk/; revision=8759
* * After the initial setup phase, the original ebuild and eclasses are noZac Medico2007-11-301-0/+7
| | | | | | | | longer needed because the same ebuild environment is reused for the entire lifecycle of the package, including uninstallation. svn path=/main/trunk/; revision=8757
* Remove unused EBUILD_ENV_FILE variable.Zac Medico2007-11-301-1/+1
| | | | svn path=/main/trunk/; revision=8755
* Bug #189417 - When ${T}/environment exists, isolate the ebuildZac Medico2007-11-302-9/+39
| | | | | | | | | environment from the calling environment. This makes it possible for the build to unset a variable that was inherited from the calling environment, and the variable will remain unset between phases. svn path=/main/trunk/; revision=8754
* Move environment.bz2 extraction from ebuild.sh to doebuild() onZac Medico2007-11-293-24/+42
| | | | | | | | | | | | the python side. The python will be able to use it's awareness of the ${T}/environment to decide what type of ebuild environment should be generated. For example, if the ebuild environment should be able to unset variables that have been inherited from the calling environment, the existence of ${T}/environment will indicate that the ebuild environment should be isolated from the calling environment. svn path=/main/trunk/; revision=8753
* Make elog_process() pre-load log modules that it can be calledZac Medico2007-11-291-0/+21
| | | | | | just for that purpose. svn path=/main/trunk/; revision=8751
* When portage reinstalls itself, pre-load elog modules inZac Medico2007-11-292-4/+13
| | | | | | | dblink.merge() since we won't be able to later if they get unmerged (happens when namespace changes). svn path=/main/trunk/; revision=8749
* Don't modify sys.path inside dblink.merge() because it doesn't seemZac Medico2007-11-291-4/+2
| | | | | | | to help and it triggers import errors for elog modules when downgrading to versions of portage that use the old namespace. svn path=/main/trunk/; revision=8747
* Adjust PYTHONPATH when calling portageq so that variableZac Medico2007-11-291-0/+3
| | | | | | PORTAGE_PYM_PATH works. svn path=/main/trunk/; revision=8745
* When portage reinstalls itself, copy both the bin and pymZac Medico2007-11-291-25/+26
| | | | | | | | directories to a temp dir. Insert the temporary PORTAGE_PYM_PATH as the first element of sys.path and register an atexit hook to clean up the temporary directories. svn path=/main/trunk/; revision=8743
* In dblink.treewalk(), make portage unmerge multiple instancesZac Medico2007-11-291-1/+2
| | | | | | | os sys-apps/portage in the same slot if necessary (needed when AUTOCLEAN=no is set). svn path=/main/trunk/; revision=8741