summaryrefslogtreecommitdiffstats
path: root/bin/isolated-functions.sh
Commit message (Collapse)AuthorAgeFilesLines
...
* Bug #200775 - Save more portage generated environmentZac Medico2007-11-301-1/+1
| | | | | | | variables that are in environment.bz2 so that they are available for use by tools such as epm. svn path=/main/trunk/; revision=8765
* Move environment.bz2 extraction from ebuild.sh to doebuild() onZac Medico2007-11-291-1/+1
| | | | | | | | | | | | 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
* Check if ${EBUILD_EXIT_STATUS_FILE} is empty beforeZac Medico2007-11-261-1/+2
| | | | | | attempting to use it. svn path=/main/trunk/; revision=8686
* Bug #200313 - Detect and report when an ebuild phaseZac Medico2007-11-261-1/+4
| | | | | | | | | | | | | | | | exits unexpectedly. This is type of behavior is known to be triggered by things such as failed variable assignments (bug #190128) or bad substitution errors (bug #200313). We use a EBUILD_EXIT_STATUS_FILE environment variable to specify a file that the shell code is supposed to create when it exits in a normal manner. If the file does not get created like it's supposed to be then we can conclude that the shell has exited in some unexpected way. svn path=/main/trunk/; revision=8682
* Make diefunc() show the path of ${T}/environment since it's usuallyZac Medico2007-11-261-0/+2
| | | | | | in the stack trace and the user is likely to be interested in it. svn path=/main/trunk/; revision=8678
* Filter more misc environment variables.Zac Medico2007-11-261-2/+2
| | | | svn path=/main/trunk/; revision=8676
* * Move filtering of a bunch of portage config variables fromZac Medico2007-11-261-21/+10
| | | | | | | | save_ebuild_env() to config.environ(). * Add EMERGE_FROM to the READONLY_PORTAGE_VARS list. svn path=/main/trunk/; revision=8670
* Filter _RC_GET_KV_CACHE from the saved environment.Zac Medico2007-11-251-1/+1
| | | | svn path=/main/trunk/; revision=8666
* Make preprocess_ebuild_env() reload a known good version ofZac Medico2007-11-251-0/+68
| | | | | | | save_ebuild_env() in order to avoid making an assumption that it hasn't been overridden. svn path=/main/trunk/; revision=8663
* The qa_call() function and anything before it are portage internalsZac Medico2007-11-251-1/+11
| | | | | | | that the user will not be interested in. Therefore, the stack trace should only show calls that come after qa_call(). svn path=/main/trunk/; revision=8653
* Fix the diefunc overlay message so that it doesn't triggerZac Medico2007-11-211-0/+1
| | | | | | falsely in prerm or postrm. svn path=/main/trunk/; revision=8578
* Make diefunc() clean up QA_INTERCEPTORS in case it isZac Medico2007-11-111-1/+6
| | | | | | called from inherit() since sed called below. svn path=/main/trunk/; revision=8490
* Fix diefunc() so that it doesn't report that the ebuild is fromZac Medico2007-10-311-1/+2
| | | | | | an overlay when EMERGE_FROM == binary. svn path=/main/trunk/; revision=8349
* Fix quoting as reported by Drac in bug 194169Alec Warner2007-09-291-1/+1
| | | | svn path=/main/trunk/; revision=7878
* with help from Donnie and Ulrich, use sed to extract the statement that led ↵Mike Frysinger2007-09-271-2/+24
| | | | | | to the call to die so we can print it out in our error message svn path=/main/trunk/; revision=7852
* align the filename and line numbers in the output of the stack dump so that ↵Mike Frysinger2007-09-261-13/+21
| | | | | | it is much easier to read svn path=/main/trunk/; revision=7842
* someone seriously screwed the pooch on whitespacing here so clean it all upMike Frysinger2007-09-261-62/+63
| | | | svn path=/main/trunk/; revision=7839
* Fix quoting.Zac Medico2007-06-271-1/+1
| | | | svn path=/main/trunk/; revision=7057
* Format $EBUILD_OVERLAY_ECLASSES output more like it was before.Zac Medico2007-06-271-1/+5
| | | | svn path=/main/trunk/; revision=7055
* Format the callstack indentation more like it used to be.Zac Medico2007-06-271-2/+2
| | | | svn path=/main/trunk/; revision=7050
* Send the ebuild die message through eerror and make sure that elog_process() ↵Zac Medico2007-06-271-17/+18
| | | | | | gets called when an ebuild dies. This makes the elog echo module display the die message last in case other elog messages push the original die message off of the top of the screen. svn path=/main/trunk/; revision=7047
* Fix eend so that it works properly on a standard BSD console. Thanks to ↵Zac Medico2007-05-021-0/+2
| | | | | | UberLord. svn path=/main/trunk/; revision=6467
* die requires diefunc and dump_trace too; duh; also move extdebug into ↵Alec Warner2007-02-081-0/+31
| | | | | | isolated-functions.sh svn path=/main/trunk/; revision=5930
* Only echo PORTAGE_LOG_FILE if it's actually set (may not be if sesandbox is ↵Zac Medico2007-02-071-1/+2
| | | | | | enabled). svn path=/main/trunk/; revision=5912
* move die into isolated-functions.shAlec Warner2007-02-071-1/+42
| | | | svn path=/main/trunk/; revision=5910
* make it executableMike Frysinger2007-01-161-0/+0
| | | | svn path=/main/trunk/; revision=5677
* Fix ebuild environment color.map support so that it works properly through ↵Zac Medico2007-01-121-7/+9
| | | | | | exec calls (since the color variables can not be directly exported due to env pollution). svn path=/main/trunk/; revision=5578
* For bug #160075, send all 'QA Notice' messages to eqawarn. Also, modify ↵Zac Medico2007-01-101-1/+10
| | | | | | eqawarn to use vecho and send ouput to stderr. svn path=/main/trunk/; revision=5507
* Add new eqawarn function and QA loglevel to be used for QA messagesMarius Mauch2007-01-091-1/+7
| | | | svn path=/main/trunk/; revision=5490
* only print the "Removing /usr/share/info" if --quiet was not passedSimon Stelling2006-08-241-2/+6
| | | | svn path=/main/trunk/; revision=4339
* Make sure that variables containing colors pollute the environment for bug ↵Zac Medico2006-06-271-0/+1
| | | | | | #138246. svn path=/main/trunk/; revision=3675
* Allow /etc/portage/color.map to control colors associated with einfo, ewarn, ↵Zac Medico2006-06-261-5/+5
| | | | | | etc... svn path=/main/trunk/; revision=3665
* As suggested by exg, include the einfon code inside einfo instead of using ↵Zac Medico2006-06-221-6/+4
| | | | | | the FUNCNAME hack (FUNCNAME only works with >=bash-3.0). svn path=/main/trunk/; revision=3607
* Prevent extra newlines in elog for einfo invocations. See bug #136208.Zac Medico2006-06-121-2/+6
| | | | svn path=/main/trunk/; revision=3501
* you have to quote $@ or things can breakMike Frysinger2006-05-141-1/+1
| | | | svn path=/main/trunk/; revision=3351
* make portage shut up if --quiet is given; bug 62273Simon Stelling2006-05-011-1/+5
| | | | svn path=/main/trunk/; revision=3296
* allow escaping in elog_base() to fix bug 131913Simon Stelling2006-05-011-1/+1
| | | | svn path=/main/trunk/; revision=3294
* Add and "other" EBUILD_PHASE for bug #127585. Thanks to Patrick Avery ↵Zac Medico2006-04-201-1/+1
| | | | | | <pyromancer@gmail.com> for this patch. svn path=/main/trunk/; revision=3178
* `` must dieSimon Stelling2006-04-151-1/+1
| | | | svn path=/main/trunk/; revision=3155
* Move has, hasq, and hasv functions to isolated-functions.sh since they do ↵Zac Medico2006-03-201-0/+17
| | | | | | not depend on ebuild.sh. svn path=/main/trunk/; revision=2964
* re-import the e* functions from baselayout since these ones are broken #117186Mike Frysinger2006-01-031-24/+54
| | | | svn path=/main/trunk/; revision=2520
* fix broken quotingMike Frysinger2006-01-031-13/+13
| | | | svn path=/main/trunk/; revision=2519
* if youre going to rip code from baselayout, you really need to do it from an ↵Mike Frysinger2006-01-031-62/+37
| | | | | | up-to-date version ... so re-import the KV functions and the color code so it doesnt suck svn path=/main/trunk/; revision=2518
* Add slightly modified elog_base patch containing the basic framework for ↵Marius Mauch2005-11-131-0/+204
ebuild logging. svn path=/main/trunk/; revision=2306