Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ebuild.sh: remove unused PWORKDIR variable | Zac Medico | 2011-02-21 | 1 | -1/+1 |
| | |||||
* | die: include $EBUILD_PHASE in message | Zac Medico | 2011-02-02 | 1 | -1/+5 |
| | | | | | When a helper binary dies automatically in EAPI 4 and later, we don't get a stack trace, so at least report the phase that failed. | ||||
* | isolated-functions.sh: fix syntax error for die | Zac Medico | 2011-02-02 | 1 | -2/+4 |
| | | | | | | | | Fix die so that dump_trace is not called when the main script is a helper binary. This prevents the following error message when a helper dies automatically in EAPI 4: isolated-functions.sh: line 61: p -= : syntax error: operand expected (error token is "-= ") | ||||
* | whitelist proxy vars and don't save them | Zac Medico | 2010-11-26 | 1 | -1/+1 |
| | |||||
* | Put more variables in PORTAGE_READONLY_VARS instead of using | Zac Medico | 2010-09-17 | 1 | -20/+6 |
| | | | | save_ebuild_env() to unset them. | ||||
* | Rename READONLY_EBUILD_METADATA and READONLY_PORTAGE_VARS to start | Zac Medico | 2010-09-17 | 1 | -1/+1 |
| | | | | with PORTAGE_, and make them both readonly. | ||||
* | Remove unused PORTAGE_MASTER_PID variable. | Zac Medico | 2010-09-17 | 1 | -1/+1 |
| | |||||
* | Don't unset PORTAGE_BUILDDIR in save_ebuild_env() since it's | Zac Medico | 2010-09-17 | 1 | -1/+1 |
| | | | | readonly now. | ||||
* | Bug #336433 - Don't filter the DCCC_PATH variable from environment since | Zac Medico | 2010-09-14 | 1 | -1/+1 |
| | | | | that breaks distcc ebuilds. | ||||
* | Filter more variables that don't need to end up in environment.bz2. | Zac Medico | 2010-09-02 | 1 | -1/+1 |
| | |||||
* | Add a _SANDBOX_COMPAT_LEVEL constant which will be used to enable | Zac Medico | 2010-09-02 | 1 | -1/+2 |
| | | | | a workaround for bug #288863 in the stable branch. | ||||
* | Bug #335340 - Add support for PORTAGE_BZIP2_COMMAND and | Zac Medico | 2010-08-30 | 1 | -0/+1 |
| | | | | | | PORTAGE_BUNZIP2_COMMAND settings in make.conf. This only adds support for binary packages, since that's where pbzip2 can provide the most benefit in common cases. | ||||
* | Implement controllable compression and docompress, bug #273633. | Ulrich Mueller | 2010-08-28 | 1 | -1/+1 |
| | |||||
* | Use a PORTAGE_SIGPIPE_STATUS variable to export 128 + SIGPIPE to the | Zac Medico | 2010-08-25 | 1 | -2/+3 |
| | | | | | ebuild environment. SIGPIPE is typically 13, but its better not to assume that. | ||||
* | Make save_ebuild_env() filter assert_sigpipe_ok(). | Zac Medico | 2010-08-25 | 1 | -1/+1 |
| | |||||
* | Handle SIGPIPE when unpack() extracts tar files through a pipe (bug #309001). | Zac Medico | 2010-08-23 | 1 | -0/+26 |
| | | | | | | | When checking ${PIPESTATUS[@]} for extraction of tar files in unpack(), use a new assert_sigpipe_ok() function which behaves the same as the existing assert() function except that it tolerates pipe writers being killed by SIGPIPE. | ||||
* | Disable EbuildIpcDaemon for now, since it seems to be triggering | Zac Medico | 2010-08-14 | 1 | -1/+2 |
| | | | | | intermittent build failures in my stage builds. For testing purposes set PORTAGE_IPC_DAEMON_ENABLE=1 to enable EbuildIpcDaemon. | ||||
* | Filter PORTAGE_PYTHON in save_ebuild_env(). | Zac Medico | 2010-08-13 | 1 | -1/+1 |
| | |||||
* | Disable the die() stack trace when called by the die helper. | Zac Medico | 2010-08-13 | 1 | -0/+3 |
| | |||||
* | Use EbuildIpcDaemon to replace the functionality of | Zac Medico | 2010-08-13 | 1 | -3/+4 |
| | | | | EBUILD_EXIT_STATUS_FILE. | ||||
* | Make utilities die on failure in EAPI 4, bug 273651 | Dror Levin | 2010-08-12 | 1 | -0/+11 |
| | |||||
* | * Add support for PORTAGE_USERNAME and PORTAGE_GRPNAME | Zac Medico | 2010-07-14 | 1 | -2/+2 |
| | | | | | | | | | | | | environment variables, for use within the chromium-os build environment. * Add PORTAGE_USERNAME and PORTAGE_GRPNAME to the environment whitelist and filter them from the saved environment. Note: In order to support PORTAGE_USERNAME and PORTAGE_GRPNAME settings in make.conf, the associated portage.data attributes may be relocated to the config class in the future. | ||||
* | Support per-package bashrc files. | Michał Górny | 2010-04-29 | 1 | -1/+1 |
| | | | | | | | 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). | ||||
* | Quote paths for 'call stack' display. | Michał Górny | 2010-04-23 | 1 | -1/+1 |
| | | | | | | Added missing quoting around the path passed to basename when printing 'Call stack' on die(). This should fix the issue where basename syntax error was displayed instead of the source file name. | ||||
* | Quote path for die snippet display. | Michał Górny | 2010-04-24 | 1 | -1/+1 |
| | | | | | | Added missing quoting around the path passed to sed when displaying ebuild snippet on die(). This should fix the issue where they weren't displayed due to the occurence of special characters in the path. | ||||
* | Implement REPLACING_VERSIONS and REPLACED_BY_VERSION | Sebastian Luther | 2010-04-10 | 1 | -0/+1 |
| | |||||
* | Remove PORTAGE_USERNAME and PORTAGE_GROUPNAME support for now since antarus | Zac Medico | 2010-04-06 | 1 | -2/+2 |
| | | | | says he wants it to work via make.conf, requiring redesign. | ||||
* | Add a test which calls bash -n on all scripts with bash shebang. | Zac Medico | 2010-04-02 | 1 | -1/+2 |
| | |||||
* | Add PORTAGE_USERNAME and PORTAGE_GROUPNAME to the environment whitelist and | Zac Medico | 2010-03-26 | 1 | -2/+3 |
| | | | | filter them from the saved environment. | ||||
* | Remove unsed check_KV() function. Thanks to Brian Harring. | Zac Medico | 2010-03-25 | 1 | -1/+1 |
| | |||||
* | Remove obsolete reference to nonexistent functions like newdepend in | Zac Medico | 2010-03-25 | 1 | -2/+1 |
| | | | | save_ebuild_env. Thanks to Brian Harring. | ||||
* | Remove all svn $Id keywords. | Zac Medico | 2010-03-24 | 1 | -1/+0 |
| | |||||
* | Bug #309149 - Unify look of eend used in bash & python code, additionally | Zac Medico | 2010-03-20 | 1 | -7/+4 |
| | | | | | | | fixing few inconsistences in bash code. Thanks to Michał Górny <gentoo@mgorny.alt.pl> for this patch. svn path=/main/trunk/; revision=15839 | ||||
* | In save_ebuild_env(), preserve all ebuild phases in any case since excluding | Zac Medico | 2009-12-24 | 1 | -2/+0 |
| | | | | | | | the already executed ones from environment.bz2 doesn't save much space, and it's possible that someone would want to look at them later. svn path=/main/trunk/; revision=15145 | ||||
* | Fix the assert alias to avoid 'value to great for base' messages in some cases. | Zac Medico | 2009-12-19 | 1 | -2/+9 |
| | | | | | | Thanks to Jonathan Callen <abcd@g.o> for reporting. svn path=/main/trunk/; revision=15121 | ||||
* | Revert previous commit because it's no comptible (doesn't pass arguments to | Zac Medico | 2009-12-19 | 1 | -1/+1 |
| | | | | | | die). svn path=/main/trunk/; revision=15120 | ||||
* | Fix the assert alias to 'value to great for base' messages in some cases. | Zac Medico | 2009-12-19 | 1 | -1/+1 |
| | | | | | | Thanks to Jonathan Callen <abcd@g.o> for reporting. svn path=/main/trunk/; revision=15119 | ||||
* | Bug #296870 - Allow locale related LANG and LC_* variables to persist between | Zac Medico | 2009-12-16 | 1 | -5/+0 |
| | | | | | | ebuild phases, and only filter them for binary and installed packages. svn path=/main/trunk/; revision=15096 | ||||
* | Remove unused STARTDIR variable. | Zac Medico | 2009-12-12 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=15051 | ||||
* | Add EAPI 3_pre2 to conditinals so the EAPI 4 stuff is disabled. | Zac Medico | 2009-12-11 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=15035 | ||||
* | Add localization variables (LANG and LC_*) to the environment whitelist and | Zac Medico | 2009-12-09 | 1 | -0/+5 |
| | | | | | | | filter them from the saved environment (so user settings override those of binary packages). Thanks to Fabio Erculiani <lxnay@g.o> for reporting. svn path=/main/trunk/; revision=14975 | ||||
* | Fix handling for TEMP, TMP, and TMPDIR variables: | Zac Medico | 2009-12-09 | 1 | -1/+1 |
| | | | | | | | | * Add to whitelist so current values are always used. * Always filter them from the saved environment. * Always add thier values to SANDBOX_WRITE. svn path=/main/trunk/; revision=14973 | ||||
* | Bump EAPI conditionals to account for rename of EAPI 3 to 4. Thanks to | Zac Medico | 2009-12-08 | 1 | -2/+2 |
| | | | | | | Jonathan Callen <abcd@g.o> for this patch. svn path=/main/trunk/; revision=14965 | ||||
* | Bug #295715 - Implement a register_success_hook function to complement | Zac Medico | 2009-12-06 | 1 | -0/+1 |
| | | | | | | | register_die_hook, and also add code to ensure the die hooks are called even when the failure is on the python side (like for file collisions). svn path=/main/trunk/; revision=14936 | ||||
* | Restore support for bash-3. | Arfrever Frehtes Taifersar Arahesis | 2009-11-08 | 1 | -0/+3 |
| | | | | svn path=/main/trunk/; revision=14804 | ||||
* | drop IMAGE -- people have had years to catch up | Mike Frysinger | 2009-10-19 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=14694 | ||||
* | Move filtering of misc bash variables from save_ebuild_env() to | Zac Medico | 2009-10-18 | 1 | -4/+1 |
| | | | | | | | filter_readonly_variables(). Add additional variables found in the output of `env -i bash -c 'declare -p'`. svn path=/main/trunk/; revision=14676 | ||||
* | Remove reference to non-existent _source_ebuild function. | Zac Medico | 2009-10-18 | 1 | -1/+0 |
| | | | | svn path=/main/trunk/; revision=14663 | ||||
* | Preserve variables which have been set in global scope using 'declare'. | Arfrever Frehtes Taifersar Arahesis | 2009-10-18 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=14662 | ||||
* | Simplify the conditionals from bug #273648. Thanks to Jonathan Callen | Zac Medico | 2009-10-17 | 1 | -0/+1 |
| | | | | | | <abcd@g.o> for this patch. svn path=/main/trunk/; revision=14617 |