summaryrefslogtreecommitdiffstats
path: root/bin/isolated-functions.sh
Commit message (Collapse)AuthorAgeFilesLines
* die: use local IFS settingZac Medico2012-10-271-0/+2
| | | | | This is needed at least for splitting ${EBUILD_OVERLAY_ECLASSES}, in order to avoid potentially strange results.
* Add eapi.sh with ___eapi_*() functions and use these functions in other files.Arfrever Frehtes Taifersar Arahesis2012-09-261-9/+8
|
* Convert funcs of ebuild.sh to __ prefixed namespace.Brian Harring2012-09-141-4/+4
|
* Convert funcs of isolated-functions.sh to __ prefixed namespace.Brian Harring2012-09-131-25/+25
|
* drop dead functionsBrian Harring2012-09-131-18/+0
| | | | Specifically, esyslog, {un,}set_unless_changed, and remove_path_entry.
* Drop diefunc protection.Brian Harring2012-09-131-6/+0
| | | | | The last usage of it was added 67e88b82726a93eda^, 01/20/08; 4.5 years later, the compatibility measure is no longer needed.
* Remove tests for deprecated 3_pre2 EAPI.Ulrich Müller2012-08-151-2/+2
|
* die: fix ${T}/build.log{,.gz} messageZac Medico2012-05-081-2/+2
|
* Quote atoms in die message for bug #414201.Zac Medico2012-05-011-2/+2
| | | | This allows zsh users to copy/paste while avoiding = expansion.
* Print working directory in die message to simplify debugging.Arfrever Frehtes Taifersar Arahesis2012-04-221-0/+1
|
* Add ${T}/build.log symlink to PORT_LOGDIR.Zac Medico2012-04-221-2/+9
| | | | | | This will fix bug #412865. This makes it easier on people who `emerge foo`, do stuff, `emerge foo`, do stuff, etc... to have the same path to the log in between runs.
* portageq: add "colormap" helperMike Frysinger2012-03-111-1/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* set_colors(): suppress "/dev/tty: No such device"Zac Medico2011-12-181-2/+4
|
* set_colors(): Redirect input to `stty size` to make it work afterArfrever Frehtes Taifersar Arahesis2011-12-181-1/+1
| | | | commit a3797a63a30579be3ba5418aad7e76fd520f9aee.
* Enable colors during the depend phase.Zac Medico2011-11-051-14/+13
|
* isolated-functions.sh: skip set_colors for dependZac Medico2011-09-111-8/+13
| | | | This avoids an unneeded stty call.
* Move KV funcs to bashrc-functions.sh.Zac Medico2011-09-111-51/+0
|
* isolated-functions.sh: split save-ebuild-env.shZac Medico2011-09-111-91/+0
|
* ebuild.sh: move hasg* funcs into econfZac Medico2011-09-111-2/+2
|
* ebuild.sh: remove unused lchown and lchgrpZac Medico2011-09-111-1/+1
|
* die: defer die hooks for EAPI 4 helpers_dieZac Medico2011-08-251-1/+6
| | | | This will fix bug #380625.
* Skip QA Notice for hasq/useq during *rm phases.Zac Medico2011-07-151-1/+2
|
* ebuild.sh: restore old has() implementationBrian Harring2011-07-111-1/+8
| | | | | | | | The needle/haystack implementation handles whitespace as originally intended (prior to commit 659eafddd5964820ce8bdc0d90f5fcf7df04b5b7), as discussed in bug #374791. Signed-off-by: Brian Harring <ferringb@gmail.com>
* 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-2/+2
|
* 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).
* Bug #365439: Add set_unless_changed() and unset_unless_changed().Arfrever Frehtes Taifersar Arahesis2011-05-011-2/+2
|
* Update date headers in modified files.Zac Medico2011-02-211-1/+1
|
* ebuild.sh: remove unused PWORKDIR variableZac Medico2011-02-211-1/+1
|
* die: include $EBUILD_PHASE in messageZac Medico2011-01-301-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 dieZac Medico2011-01-301-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 themZac Medico2010-11-261-1/+1
|
* Put more variables in PORTAGE_READONLY_VARS instead of usingZac Medico2010-09-171-20/+6
| | | | save_ebuild_env() to unset them.
* Rename READONLY_EBUILD_METADATA and READONLY_PORTAGE_VARS to startZac Medico2010-09-171-1/+1
| | | | with PORTAGE_, and make them both readonly.
* Remove unused PORTAGE_MASTER_PID variable.Zac Medico2010-09-171-1/+1
|
* Don't unset PORTAGE_BUILDDIR in save_ebuild_env() since it'sZac Medico2010-09-171-1/+1
| | | | readonly now.
* Bug #336433 - Don't filter the DCCC_PATH variable from environment sinceZac Medico2010-09-141-1/+1
| | | | that breaks distcc ebuilds.
* Filter more variables that don't need to end up in environment.bz2.Zac Medico2010-09-021-1/+1
|
* Add a _SANDBOX_COMPAT_LEVEL constant which will be used to enableZac Medico2010-09-021-1/+2
| | | | a workaround for bug #288863 in the stable branch.
* Bug #335340 - Add support for PORTAGE_BZIP2_COMMAND andZac Medico2010-08-301-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 Mueller2010-08-281-1/+1
|
* Use a PORTAGE_SIGPIPE_STATUS variable to export 128 + SIGPIPE to theZac Medico2010-08-251-2/+3
| | | | | ebuild environment. SIGPIPE is typically 13, but its better not to assume that.
* Make save_ebuild_env() filter assert_sigpipe_ok().Zac Medico2010-08-251-1/+1
|
* Handle SIGPIPE when unpack() extracts tar files through a pipe (bug #309001).Zac Medico2010-08-231-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 triggeringZac Medico2010-08-141-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 Medico2010-08-131-1/+1
|
* Disable the die() stack trace when called by the die helper.Zac Medico2010-08-131-0/+3
|
* Use EbuildIpcDaemon to replace the functionality ofZac Medico2010-08-131-3/+4
| | | | EBUILD_EXIT_STATUS_FILE.
* Make utilities die on failure in EAPI 4, bug 273651Dror Levin2010-08-121-0/+11
|
* * Add support for PORTAGE_USERNAME and PORTAGE_GRPNAMEZac Medico2010-07-141-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.