Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add eapi.sh with ___eapi_*() functions and use these functions in other files. | Arfrever Frehtes Taifersar Arahesis | 2012-09-26 | 27 | -128/+133 |
| | |||||
* | doheader: don't count -r as required arg | Zac Medico | 2012-09-16 | 1 | -1/+1 |
| | |||||
* | Convert funcs of isolated-functions.sh to __ prefixed namespace. | Brian Harring | 2012-09-13 | 25 | -66/+66 |
| | |||||
* | Convert funcs of bashrc-functions.sh to __ prefixed namespace. | Brian Harring | 2012-09-13 | 2 | -10/+10 |
| | |||||
* | Quote ${EAPI} more. | Zac Medico | 2012-09-02 | 2 | -2/+2 |
| | | | | | This will avoid a potential syntax error in save-ebuild-env.sh if a saved environment containing corrupt EAPI is sourced. | ||||
* | ebuild-helpers/bsd/sed: whitespace + quoting | Zac Medico | 2012-09-02 | 1 | -5/+5 |
| | |||||
* | ebuild-helpers/sed: move to bsd subdirectory | Zac Medico | 2012-09-01 | 1 | -0/+0 |
| | | | | | | This helps to prevent inappropriate use of the sed wrapper on GNU systems, which commonly occurs when users install portage manually during recovery situations. | ||||
* | ebuild-helpers/sed: use -ef to check recursion | Zac Medico | 2012-09-01 | 1 | -2/+2 |
| | |||||
* | Eliminate bin/ebuild-helpers/4 directory. | Zac Medico | 2012-09-01 | 9 | -15/+51 |
| | | | | | Instead, just use conditionals where appropriate inside bin/ebuild-helpers/* scripts. | ||||
* | EAPI 5: doheader and newheader helper functions | Ulrich Müller | 2012-08-31 | 2 | -0/+22 |
| | | | | See bug #21310. | ||||
* | Whitespace. | Ulrich Müller | 2012-08-25 | 1 | -1/+1 |
| | |||||
* | EAPI 5: new* commands can read from stdin, bug 263565. | Ulrich Müller | 2012-08-25 | 1 | -16/+39 |
| | |||||
* | new*: symlink to generic newins implementation | Zac Medico | 2012-08-25 | 10 | -220/+10 |
| | |||||
* | newins: become generic so new* can be symlinks | Zac Medico | 2012-08-25 | 1 | -19/+20 |
| | |||||
* | prepstrip: avoid debugedit/strip interference | Zac Medico | 2012-08-23 | 1 | -14/+16 |
| | | | | This will fix bug #421099. | ||||
* | Remove tests for deprecated 3_pre2 EAPI. | Ulrich Müller | 2012-08-15 | 2 | -4/+4 |
| | |||||
* | installsources: fix file permissions, bug #430962 | Nico Roeser | 2012-08-11 | 1 | -1/+1 |
| | |||||
* | prepstrip: avoid rm warning about cwd | Zac Medico | 2012-07-15 | 1 | -0/+1 |
| | |||||
* | ecompressdir: fix brokenlink newdest logic | Zac Medico | 2012-06-01 | 1 | -1/+5 |
| | | | | Was broken in commit bbacf8674168cf033de0ccb161f568d0b26f032b. | ||||
* | ecompressdir: avoid ecompress.break interference | Zac Medico | 2012-06-01 | 1 | -3/+3 |
| | |||||
* | ecompressdir: fix ln -s for bug #418309 | Zac Medico | 2012-06-01 | 1 | -3/+7 |
| | | | | | This fixes parallel funk_up_dir decompress calls so that they don't inappropriately compete with eachother to fix the same broken symlinks. | ||||
* | ecompressdir: fix funk_up_dir return value | Zac Medico | 2012-06-01 | 1 | -2/+4 |
| | |||||
* | prepstrip: fix installsources breakage | Zac Medico | 2012-05-14 | 1 | -3/+3 |
| | | | | | The debug.sources path changed in commit 4941c3c674400116f118a9c75b520c3fd1a25490. | ||||
* | prepstrip: fix hardlink race in process_elf | Zac Medico | 2012-05-14 | 1 | -6/+16 |
| | |||||
* | prepstrip: fix hardlink handling for subshells | Zac Medico | 2012-05-14 | 1 | -12/+17 |
| | |||||
* | prepstrip: make splitdebug/installsources parallel safe | Mike Frysinger | 2012-05-14 | 1 | -24/+20 |
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | prepstrip: tweak style and document helper funcs a bit | Mike Frysinger | 2012-05-14 | 1 | -15/+19 |
| | | | | | | Mostly make sure we be consistent with ${var} rather than $var. Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | prepstrip: run the log parsing in parallel to file stripping | Mike Frysinger | 2012-05-14 | 1 | -5/+5 |
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | prepstrip: wait for Pre-stripped check to finish | Zac Medico | 2012-05-14 | 1 | -0/+3 |
| | |||||
* | prepstrip: disable parallel for splitdebug, etc.. | Zac Medico | 2012-05-14 | 1 | -2/+17 |
| | |||||
* | prepstrip/ecompressdir: parallelize operations | Mike Frysinger | 2012-05-12 | 2 | -8/+42 |
| | | | | | | | | | | | Stealing some ideas from ferringb, add a new API for doing parallel processing in bash, and then deploy this with the stripping and compressing stages. For stripping coreutils which has about 100 ELFs, this brings time to strip down from ~7 seconds to ~0.7 seconds on my system. Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | fowners: return success for prefix if EUID != 0 | Zac Medico | 2012-03-29 | 1 | -2/+8 |
| | | | | This is based on a patch by Jeremy Olexa from bug #409893. | ||||
* | dosym: add $EPREFIX to absolute target | Jeremy Olexa | 2012-03-29 | 1 | -2/+5 |
| | |||||
* | ecompressdir: handle abs symlink, bug #405327 | Zac Medico | 2012-02-22 | 1 | -3/+10 |
| | |||||
* | ecompress: don't rename dir symlink, bug #399595 | Zac Medico | 2012-01-21 | 1 | -0/+4 |
| | |||||
* | add support for compressing debug sections to save space | Mike Frysinger | 2012-01-14 | 1 | -2/+4 |
| | | | | | | | | | | | Since binutils/gdb can compress the .debug* sections with zlib into .zdebug*, we should be able to save quite a bit of space -- on my system, I saw /usr/lib/debug/ go from ~20GB to ~7.5GB. This requires binutils/gdb to be built with USE=zlib which is why this defaults to off. Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | prepstrip: add writable workaround for everyone | Mike Frysinger | 2012-01-14 | 1 | -1/+1 |
| | | | | | | | The writable issue shows up when using `ebuild` as non-root users in non-prefix setups. So always do it. Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | ebuild-helpers/new*: QA warn for extra args | Zac Medico | 2011-12-22 | 11 | -10/+43 |
| | |||||
* | Strip .GCC.command.line from output files as well. | Michał Górny | 2011-12-21 | 1 | -1/+1 |
| | |||||
* | prepstrip: merge diff from prefix branch | Zac Medico | 2011-12-19 | 1 | -9/+26 |
| | | | | | | | NOTE: Debug files must be installed in ${EPREFIX}/usr/lib/debug/${EPREFIX} (note that ${EPREFIX} occurs twice in this path) in order for gdb's debug-file-directory lookup to work correctly. | ||||
* | Support FEATURES=force-prefix. | Zac Medico | 2011-12-08 | 25 | -25/+25 |
| | | | | | | | This adjusts the logic from commit ff52f9dc31004becb8022e6437088d01917f413c to use FEATURES=force-prefix instead of USE=prefix. This has the advantage that we don't have to make any assumptions about the USE=prefix. | ||||
* | Make USE=prefix enable EPREFIX in all EAPIs. | Zac Medico | 2011-12-07 | 25 | -26/+52 |
| | | | | | | | | This is safe because the prefix flag should be masked in all non-prefix profiles, and older EAPIs would otherwise be useless with prefix configurations. This brings compatibility with the prefix branch of portage, which also supports EPREFIX for all EAPIs (for obvious reasons). | ||||
* | ecompressdir: remove 'continue' from loop logic | Zac Medico | 2011-11-08 | 1 | -6/+3 |
| | | | | Hopefully this helps us avoid errors in loop logic like bug #389047. | ||||
* | Handle empty PORTAGE_COMPRESS for bug #389047. | Zac Medico | 2011-11-07 | 1 | -1/+5 |
| | | | | | | This fixes a case where empty PORTAGE_COMPRESS made ecompressdir forget to call restore_skip_dirs, such that docompress -x resulted in files not being installed due to hide_skip_dirs hiding them permanently. | ||||
* | Add EPREFIX and ED support in all ebuild helpers. | Zac Medico | 2011-11-01 | 25 | -95/+144 |
| | | | | This allows our prefix tests to use helpers like insinto, doins, and dosym. | ||||
* | prepstrip: make sure eu-strip embeds right filename | Mike Frysinger | 2011-10-11 | 1 | -1/+4 |
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | prepstrip: add support for elfutils strip | Mike Frysinger | 2011-10-11 | 1 | -18/+46 |
| | | | | | | | If people use strip from the elfutils package, take advantage of some of its neat features (like splitting + stripping in one step). Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | prepstrip: extract buildid with readelf to avoid debugedit when possible | Mike Frysinger | 2011-10-11 | 1 | -9/+23 |
| | | | | | | The readelf utility is much more common than debugedit. Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | prepstrip: avoid a `dirname` with a simple ${var%/*} | Mike Frysinger | 2011-10-10 | 1 | -1/+1 |
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | prepstrip: tweak style of debugedit checksv2.2.0_alpha65 | Zac Medico | 2011-10-09 | 1 | -8/+8 |
| | | | | | Make the checks more like the FEATURES/RESTRICT checks from commit 286675a500998e536dbbf2ee2dfe1fedf4290b38. |