summaryrefslogtreecommitdiffstats
path: root/bin/ebuild.sh
Commit message (Collapse)AuthorAgeFilesLines
* Skip QA Notice for hasq/useq during *rm phases.Zac Medico2011-07-151-1/+2
|
* Add QA Notice for hasq/useq calls (bug #199722).Zac Medico2011-07-081-0/+1
|
* Remove all hasq/useq calls for bug #199722.Zac Medico2011-07-081-59/+59
|
* Invert has/hasq and use/useq implementations.Zac Medico2011-07-081-4/+4
| | | | | We need to migrate away from hasq and useq since they are deprecated (bug #199722).
* ebuild.sh: fix libdir for ccache/distccZac Medico2011-06-091-2/+8
| | | | This will fix bug #355283.
* ebuild.sh: don't hardcode distcc pump pathJeremy Murphy2011-06-091-2/+2
|
* Add FEATURES=distcc-pump support.MATSUU Takuto2011-05-201-0/+7
| | | | This will fix bug #288597.
* doebuild: use EbuildBuildDir for lockingZac Medico2011-05-071-1/+1
| | | | | | | | EbuildBuildDir also performs safe removal of the category when it is empty, so ebuild.sh/dyn_clean doesn't need to do it anymore. This fixes a race condition if one process is trying to remove the category directory while another one is trying to create it for PORTAGE_BUILDDIR.
* Avoid evaluation of values of variables in set_unless_changed().Arfrever Frehtes Taifersar Arahesis2011-05-021-1/+1
|
* ebuild.sh: make INHERITED independent of phaseZac Medico2011-05-021-3/+11
| | | | | | | When EBUILD_PHASE != depend, INHERITED comes pre-initialized from cache. In order to make INHERITED content independent of EBUILD_PHASE during inherit() calls, we unset INHERITED after we make a backup copy for QA checks.
* Support multiple arguments in set_unless_changed() and unset_unless_changed().Arfrever Frehtes Taifersar Arahesis2011-05-011-18/+25
| | | | Use VARIABLE=VALUE syntax for arguments of set_unless_changed().
* Bug #365439: Add set_unless_changed() and unset_unless_changed().Arfrever Frehtes Taifersar Arahesis2011-05-011-0/+28
|
* Optimize ebuild.sh to cache preprocessing output.David James2011-03-231-8/+8
| | | | | | | | | | | | | Right now ebuild.sh runs preprocessing steps multiple times during the same build. It processes the same environment and produces the same output every time. This slows down the build unnecessarily. This optimization cuts build time for 50 binary packages with 16 jobs from 3m22 to 2m33 (33%). Change-Id: I72ac84cce2eb60d17736cc5f5343d4a858ec86f4 Review URL: http://codereview.chromium.org/6733008
* ebuild.sh: remove unused PWORKDIR variableZac Medico2011-02-211-6/+0
|
* Update date headers in modified files.Zac Medico2011-02-191-1/+1
|
* _eapi4_src_install: handle empty DOCS like PMSZac Medico2011-02-191-1/+1
| | | | This will fix bug #355635.
* docompress, prepcompress: Add missing quotes.Ulrich Mueller2011-02-191-2/+2
|
* default_src_test: handle EAPI 4 emake failureZac Medico2011-02-061-4/+10
| | | | This will fix bug #353897.
* econf: check confgure --help for --disable-dep...Zac Medico2011-01-121-1/+3
| | | | This is the new behavior, for bug #211529.
* ebuild.sh: skip QA_* init in "depend" phaseZac Medico2011-01-091-20/+21
|
* dyn_clean: remove .pretendedZac Medico2010-12-311-1/+1
|
* unpack: handle echo failure in unzip pipeZac Medico2010-12-291-1/+1
| | | | This will fix bug #338744.
* bash: as a general rule, use read -rZac Medico2010-12-291-2/+2
| | | | This solves cases like bug #350045.
* Substitute bash builtin >> for touch command.Zac Medico2010-12-191-15/+25
| | | | | It should be faster to use the bash builtin, and also allows us to avoid issues with touch breakage (like in bug #348640).
* ebuild.sh: only run pretend once for ebuild(1)Zac Medico2010-12-051-1/+9
|
* EAPI 4: Support MERGE_TYPE (bug #347351)Zac Medico2010-12-031-1/+2
|
* fix QA_EXECSTACK spelling for QA_PREBUILTZac Medico2010-12-021-1/+1
| | | | | Thanks to Sébastien Fabbro <bicatali@gentoo.org> for reporting in bug #346847.
* debug-print: don't stat $T during depend phasev2.2.0_alpha2Zac Medico2010-10-271-1/+1
|
* ebuild: move SANDBOX_ON=0 setting laterZac Medico2010-10-271-3/+3
|
* Only addwrite for tmp dirs if sandbox is enabled.Zac Medico2010-10-271-1/+1
| | | | This should fix bug #307729.
* debug-print-function: output like older portageZac Medico2010-10-271-1/+1
|
* debug-print: permission fixesZac Medico2010-10-271-4/+7
|
* Simplify retval checks in has_version() and best_version().Michał Górny2010-10-241-10/+4
|
* Simplify debug-print*() functions code.Michał Górny2010-10-241-20/+12
| | | | | Make debug-print() and friends a lot simpler. Thanks to Mike Frysinger for his suggestions.
* Fix default() and default_src_install() definitions to account forZac Medico2010-09-201-0/+10
| | | | the new EAPI 4 default src_install implementation.
* Revert "Add option -s to docompress command."Ulrich Mueller2010-09-201-7/+1
| | | | This reverts commit f2375609adc80ebe5395d84902af4045ecea2f73.
* Put more variables in PORTAGE_READONLY_VARS instead of usingZac Medico2010-09-171-4/+14
| | | | save_ebuild_env() to unset them.
* Rename READONLY_EBUILD_METADATA and READONLY_PORTAGE_VARS to startZac Medico2010-09-171-4/+5
| | | | with PORTAGE_, and make them both readonly.
* Add PORTAGE_BUILDDIR to READONLY_PORTAGE_VARS since it's extremelyZac Medico2010-09-171-1/+1
| | | | important now that ebuild-ipc relies on it.
* Add option -s to docompress command.Ulrich Mueller2010-09-141-1/+7
|
* Remove redundant local retval declaration in has_version().Zac Medico2010-09-101-1/+0
|
* Bug #336644 - Make ebuild-ipc.py use array.fromfile() to read picklesZac Medico2010-09-091-8/+7
| | | | | | | in single atomic non-blocking read() calls, similar to how AbstractPollTask._read_buf() does it. If the read fails, exit with status 2 so that best_version() and has_version() can detect the error and die when necessary.
* Filter the FEATURES variable out of the environment between phases,Zac Medico2010-09-071-2/+3
| | | | | | | so that it always matches the latest value from the config class and it can never be stale. With the ability to use package.env for per-package FEATURES settings, there's no need for bashrc to make persistent modifications to the FEATURES variable.
* Fix dyn_setup 'already setup' message to refer to setup instead ofZac Medico2010-09-071-1/+1
| | | | prepare.
* Move stale elog cleanup code from ebuild.sh to _doebuild_spawn(), soZac Medico2010-09-071-10/+11
| | | | that elog messages generated by bashrc are preserved when appropriate.
* Define EBUILD_MASTER_PID earlier in ebuild.sh, before $EBUILD isv2.2_rc76Zac Medico2010-09-061-4/+8
| | | | sourced.
* Bug #336285 - Add workaround to unpack() in order to prevent unzipZac Medico2010-09-061-0/+3
| | | | from interactively prompting under some error conditions.
* Remove all \a (alert/bell/beep) tokens (bug 336024)Sebastian Luther2010-09-061-1/+0
|
* print up-to-date copyright yearsFabian Groffen2010-09-051-1/+1
|
* Take the code which displays ebuild information before pkg_setup,Zac Medico2010-09-051-5/+0
| | | | | and move it from ebuild.sh to EbuildPhase. This way we can easily use python to extend it for bug #336019.