Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Quote arrays in QA_PREBUILT handling. | Zac Medico | 2010-08-21 | 1 | -1/+1 | |
| | ||||||
* | Add support for a QA_PREBUILT variable should contain a list of | Zac Medico | 2010-08-21 | 1 | -0/+20 | |
| | | | | | | pre-built binaries. Paths listed here will be appended to each of the other QA_* variables. Thanks to Diego Pettenò <flameeyes@g.o> for the suggestion. | |||||
* | At some point we may want to stop exporting FEATURES to the ebuild | Zac Medico | 2010-08-20 | 1 | -1/+1 | |
| | | | | | | | environment, in order to prevent ebuilds from abusing it. In preparation for that, export it as PORTAGE_FEATURES so that bashrc users will be able to migrate any FEATURES conditional code to use this alternative variable. | |||||
* | * In helpers_die arguments, display ${0##*/} instead of $0 since $0 | Zac Medico | 2010-08-18 | 1 | -4/+4 | |
| | | | | | | is needlessly long. * When calling helpers_die from a function, use ${FUNCNAME[0]} in arguments instead of $0. | |||||
* | DoebuildSpawnTestCase: Invoke portage.package.ebuild.doebuild.spawn() | Zac Medico | 2010-08-15 | 1 | -0/+2 | |
| | | | | | | with a minimal environment. This gives coverage to some of the ebuild execution internals, like ebuild.sh, EbuildSpawnProcess, and EbuildIpcDaemon. | |||||
* | Disable EbuildIpcDaemon for now, since it seems to be triggering | Zac Medico | 2010-08-14 | 1 | -1/+3 | |
| | | | | | intermittent build failures in my stage builds. For testing purposes set PORTAGE_IPC_DAEMON_ENABLE=1 to enable EbuildIpcDaemon. | |||||
* | Pass $USE via IPC in order to ensure that we have the correct value for | Zac Medico | 2010-08-14 | 1 | -2/+2 | |
| | | | | | | built/installed packages, since the config class doesn't currently provide a way to access built/installed $USE that would work in all possible scenarios. | |||||
* | Add a QueryCommand.settings attribute and use it so that $USE | Zac Medico | 2010-08-14 | 1 | -2/+2 | |
| | | | | | doesn't have to be passed to the daemon in has_version and best_version calls. | |||||
* | Don't call exit after pkg_nofetch since that prevents the ebuild-ipc | Zac Medico | 2010-08-13 | 1 | -1/+0 | |
| | | | | callback from executing. | |||||
* | Use /usr/bin/python when PORTAGE_PYTHON variable is empty. | Arfrever Frehtes Taifersar Arahesis | 2010-08-14 | 1 | -4/+4 | |
| | | | | It avoids some errors during upgrade from older Portage versions. | |||||
* | Ensure that all Python processes use the same version of Python. | Arfrever Frehtes Taifersar Arahesis | 2010-08-14 | 1 | -14/+8 | |
| | ||||||
* | Setup EBUILD_MASTER_PID at the bottom, for scripts that source | Zac Medico | 2010-08-13 | 1 | -0/+4 | |
| | | | | ebuild.sh. | |||||
* | Bug #315615 - Use EbuildIpcDaemon to implement has_version and best_version. | Zac Medico | 2010-08-13 | 1 | -0/+10 | |
| | | | | | This provides performance benefits and also avoids permissions issues with FEATURES=userpriv. | |||||
* | Move EBUILD_MASTER_PID and associated SIGTERM trap into ebuild_main() | Zac Medico | 2010-08-13 | 1 | -4/+5 | |
| | | | | | | | since it seems more reliable this way. This helps us avoid having EbuildIpcDaemon need to send a kill signal (and triggering the zombie message too). This is especially important for the die helper which is called by other helpers for EAPI 4. | |||||
* | Use EbuildIpcDaemon to replace the functionality of | Zac Medico | 2010-08-13 | 1 | -10/+4 | |
| | | | | EBUILD_EXIT_STATUS_FILE. | |||||
* | Fix faulty $? handling in *into functions (from previous commit). | Zac Medico | 2010-08-12 | 1 | -12/+16 | |
| | ||||||
* | Make utilities die on failure in EAPI 4, bug 273651 | Dror Levin | 2010-08-12 | 1 | -4/+20 | |
| | ||||||
* | Make sure we don't allow REQUIRED_USE in EAPIs that don't support it | Sebastian Luther | 2010-08-11 | 1 | -5/+0 | |
| | ||||||
* | Don't cache REQUIRED_USE for EAPIs 1-3 which don't support it. | Zac Medico | 2010-08-10 | 1 | -1/+5 | |
| | ||||||
* | Add REQUIRED_USE to metadata keys, caches, etc. | Sebastian Luther | 2010-08-10 | 1 | -9/+16 | |
| | ||||||
* | Bug #308835: Support options in shebang and terminate 's' option of sed. | Arfrever Frehtes Taifersar Arahesis | 2010-08-07 | 1 | -2/+2 | |
| | ||||||
* | Bug #308835 - Make econf() use sed to substitute $CONFIG_SHELL in | Zac Medico | 2010-08-04 | 1 | -0/+5 | |
| | | | | the shebang of configure scripts when appropriate. | |||||
* | Patch ebuild.sh to not nuke the WORKDIR if FEATURES="keepwork". | Christopher Covington | 2010-07-08 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | This allows make to do its thing when using Portage in a development workflow, although the change also exposes how ebuild clean doesn't clear out the WORKDIR. TEST=`rm -rf /build/$board/tmp/portage/chromeos-base/kernel-0.0.1 && [ -e /build/$board/tmp/portage/chromeos-base/kernel-0.0.1/.unpacked ] && rm /build/$board/tmp/portage/chromeos-base/kernel-0.0.1/.unpacked && FEATURES=keepwork ebuild-$board kernel-0.0.1.ebuild install` Then modify some of the source (preferably in the git repository rather than the WORKDIR). `[ -e /build/$board/tmp/portage/chromeos-base/kernel-0.0.1/.unpacked ] && rm /build/$board/tmp/portage/chromeos-base/kernel-0.0.1/.unpacked && FEATURES=keepwork ebuild-$board kernel-0.0.1.ebuild install &&` On the second ebuild operation, make should be able to tell what exactly, or if nothing at all, has changed, and rebuild only the necessary object files. http://codereview.chromium.org/2922001 | |||||
* | Bug #322049 - Make use_with() and use_enable() handling of empty | Zac Medico | 2010-05-30 | 1 | -2/+10 | |
| | | | | | | 3rd argument conditional on EAPI in order to ensure backward compatibility. This reverts the behavior change from commit a05bba76435d94407fd25549d0552902962baf62 for EAPI 0, 1, 2, and 3. | |||||
* | Fix handling of empty third argument of use_with() and use_enable(). | Arfrever Frehtes Taifersar Arahesis | 2010-05-27 | 1 | -2/+2 | |
| | ||||||
* | Use 'assert' to check ${PIPESTATUS[@]} from save_ebuild_env calls. | Zac Medico | 2010-05-25 | 1 | -0/+3 | |
| | ||||||
* | Bug #321145: Don't ignore exit status of filter-bash-environment.py and ↵ | Arfrever Frehtes Taifersar Arahesis | 2010-05-25 | 1 | -1/+1 | |
| | | | | check-implicit-pointer-usage.py. | |||||
* | Bug #320755 - Make sure src_test only runs once when ebuild(1) | Zac Medico | 2010-05-21 | 1 | -5/+8 | |
| | | | | | is used to explicitly run the test phase along with other phases. | |||||
* | Update comment in econf about --disable-dependency-tracking to refer to | Zac Medico | 2010-05-06 | 1 | -1/+1 | |
| | | | | EAPI 4 instead of 3. | |||||
* | Support per-package bashrc files. | Michał Górny | 2010-04-29 | 1 | -10/+13 | |
| | | | | | | | Support loading per-package bashrc files from the /etc/portage/env directory. The invidual files should reside in a directory matching ${CATEGORY}, with names matching ${PN}, ${PN}:${SLOT}, ${P} and/or ${PF} (which are applied in that order). | |||||
* | Remove unsed check_KV() function. Thanks to Brian Harring. | Zac Medico | 2010-03-25 | 1 | -14/+0 | |
| | ||||||
* | Add back executable bits, accidentally removed in previous commit. | Zac Medico | 2010-03-24 | 1 | -0/+0 | |
| | ||||||
* | Remove all svn $Id keywords. | Zac Medico | 2010-03-24 | 1 | -1/+0 | |
| | ||||||
* | Fix breakage from previous commit. | Zac Medico | 2010-03-15 | 1 | -0/+1 | |
| | | | | svn path=/main/trunk/; revision=15830 | |||||
* | Add a TODO note about adding a registration interface for eclasses to register | Zac Medico | 2010-03-15 | 1 | -6/+7 | |
| | | | | | | phase hooks, in order to migrate away from global scope useq() calls. svn path=/main/trunk/; revision=15829 | |||||
* | Revert tar error handling changes from bug #309001 since we can't necessarily | Zac Medico | 2010-03-14 | 1 | -2/+4 | |
| | | | | | | trust tar exist status alone (reverts r15820 and r15821). svn path=/main/trunk/; revision=15827 | |||||
* | Bug #309001 - Only trust tar exit status (ignore decompressor exit status) | Zac Medico | 2010-03-11 | 1 | -4/+2 | |
| | | | | | | when unpacking tar files. svn path=/main/trunk/; revision=15820 | |||||
* | After src_install, save fewer variables when writing the vdb entry for a | Zac Medico | 2010-02-14 | 1 | -3/+9 | |
| | | | | | | virtual package. svn path=/main/trunk/; revision=15349 | |||||
* | Evaluate USE conditionals when writing vdb entries after src_install. | Zac Medico | 2010-02-14 | 1 | -3/+2 | |
| | | | | svn path=/main/trunk/; revision=15348 | |||||
* | Bug #297364 - Only set EAPI conditional PATH once after sourcing the ebuildv2.2_rc61 | Zac Medico | 2009-12-24 | 1 | -39/+48 | |
| | | | | | | (when the EAPI is first known) rather than for each phase. svn path=/main/trunk/; revision=15149 | |||||
* | Remove stray echo. | Zac Medico | 2009-12-24 | 1 | -1/+0 | |
| | | | | svn path=/main/trunk/; revision=15147 | |||||
* | Remove obsolete backing up of ROOTPATH via PORTAGE_ROOTPATH. | Zac Medico | 2009-12-24 | 1 | -7/+1 | |
| | | | | svn path=/main/trunk/; revision=15143 | |||||
* | Bug #297933: Filter BASHOPTS variable for compatibility with bash-4.1. | Arfrever Frehtes Taifersar Arahesis | 2009-12-22 | 1 | -2/+2 | |
| | | | | svn path=/main/trunk/; revision=15130 | |||||
* | Bug #296710 - Add equery to QA_INTERCEPTORS since it can trigger a fork bomb. | Zac Medico | 2009-12-16 | 1 | -1/+1 | |
| | | | | svn path=/main/trunk/; revision=15098 | |||||
* | Bug #296870 - Allow locale related LANG and LC_* variables to persist between | Zac Medico | 2009-12-16 | 1 | -1/+12 | |
| | | | | | | ebuild phases, and only filter them for binary and installed packages. svn path=/main/trunk/; revision=15096 | |||||
* | Make prefix varialbes ED, EPREFIX, and EROOT readonly except in EAPI 0, 1, and | Zac Medico | 2009-12-13 | 1 | -0/+7 | |
| | | | | | | 2. svn path=/main/trunk/; revision=15057 | |||||
* | Add EAPI 3_pre2 to conditinals so the EAPI 4 stuff is disabled. | Zac Medico | 2009-12-11 | 1 | -10/+10 | |
| | | | | svn path=/main/trunk/; revision=15035 | |||||
* | Enable xz unpack for EAPI 3_pre2. | Zac Medico | 2009-12-11 | 1 | -1/+1 | |
| | | | | svn path=/main/trunk/; revision=15034 | |||||
* | Don't filter/interfere with prefix variables unless they are supported by the | Zac Medico | 2009-12-11 | 1 | -1/+12 | |
| | | | | | | current EAPI. svn path=/main/trunk/; revision=15031 | |||||
* | Filter prefix variables ED, EPREFIX, and EROOT inside | Zac Medico | 2009-12-11 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | filter_readonly_variables() but don't mark them readonly for now since some ebuilds/eclasses try to assign EROOT (such as kde4-base_pkg_setup) which causes the whole bash shell to exit like this: >>> Extracting info * CPV: kde-base/oxygen-icons-4.3.4 * REPO: gentoo * USE: elibc_glibc kernel_linux test userland_GNU x86 /var/tmp/portage/kde-base/oxygen-icons-4.3.4/temp/environment: line 2781: EROOT: readonly variable Also, add ED to the environment blacklist. svn path=/main/trunk/; revision=15030 |