aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* install_hooks: fix variable name for PORTAGE_CONFIGROOTFabian Groffen2011-09-231-1/+1
| | | | | in addition, omit the leading slash, since PORTAGE_CONFIGROOT contains a trailing slash
* Fix 'shopt: +s: invalid shell option name' error.Arfrever Frehtes Taifersar Arahesis2011-09-231-1/+1
|
* add install hooksBrian Harring2011-09-211-0/+15
|
* install_qa_check: adjust "poor programming" msgsZac Medico2011-09-181-10/+10
| | | | | Refer to "severe warnings" rather than "poor programming", in order to be more politically correct, as discussed in bug #374233.
* misc-functions.sh: fix incorrect has -o usageZac Medico2011-07-121-1/+1
|
* Remove all hasq/useq calls for bug #199722.Zac Medico2011-07-081-11/+11
|
* misc-functions.sh: remove stale NEEDED* filesZac Medico2011-06-301-0/+1
|
* Add a QA check for systemd unit file install.Michał Górny2011-06-241-0/+10
|
* install_qa_check(): Simplify code and make 'l' a local variable.Arfrever Frehtes Taifersar Arahesis2011-04-301-3/+3
|
* Check for references to ${ROOT} in install_qa_checks.David James2011-04-291-8/+26
| | | | | | | | | | | | | | | | | | | | | | | | When ROOT != /, binaries that reference ROOT will load their dependencies from ROOT first rather than from the system-configured path. This is a problem because the ROOT will be / on the target system. Besides the above, this patch also fixes incorrect parsing of scanelf output, where we would treat the RPATHs returned by scanelf as the names of binaries. TEST=When "stricter" FEATURE is enabled, verify that emerge fails when an ebuild references broken rpaths referencing ROOT. When "stricter" FEATURE is not enabled, verify that such references are automatically fixed. Also verify that ebuilds with non-broken RPATHs (e.g. RPATHs referencing $ORIGIN/../lib) are not touched by the change. BUG=chromium-os:14271 Change-Id: I4f29cc4ea9195a1255f080284da1f676e4a2c26b Review URL: http://codereview.chromium.org/6903153
* Move preinst/postinst_bsdflags from bash to pyDavid James2011-04-281-16/+0
| | | | | | | | | | | | | Moving these commands from shell to Python helps avoid an unnecessary call to misc-functions.sh for the postinst_bsdflags. This improves performance. BUG=none TEST=Run emerge-x86-generic -eg --jobs=16 libchrome Change-Id: I0c2af50b4d2f7644cabac84fde7fe4d682010c69 Review URL: http://codereview.chromium.org/6676107
* Bug #364467 - handle gcc-4.6-style QA warningsRyan Hill2011-04-261-18/+18
|
* Update date headers in modified files.Zac Medico2011-02-191-1/+1
|
* docompress, prepcompress: Add missing quotes.Ulrich Mueller2011-02-191-1/+1
|
* bash: as a general rule, use read -rZac Medico2010-12-291-4/+4
| | | | This solves cases like bug #350045.
* Substitute bash builtin >> for touch command.Zac Medico2010-12-191-1/+2
| | | | | It should be faster to use the bash builtin, and also allows us to avoid issues with touch breakage (like in bug #348640).
* dyn_spec: account for empty $FILESDIRZac Medico2010-10-291-1/+3
| | | | This should fix bug 342721.
* Fix readonly variable assignment for PORTAGE_BINPKG_TMPFILE whenZac Medico2010-09-301-1/+1
| | | | ebuild(1) calls the 'package' phase.
* Bug #336873 - Add a leading comma when matching --hash-style=gnuZac Medico2010-09-131-1/+1
| | | | in LDFLAGS, in order to try and filter out invalid settings.
* Bug #337031 - Don't make "always overflow destination buffers" gccv2.2_rc81Zac Medico2010-09-121-3/+4
| | | | warnings fatal for now.
* Bug #273282 - Make install_qa_check() eqawarn about installation intov2.2_rc79Zac Medico2010-09-101-1/+12
| | | | | | these deprecated directories: etc/app-defaults usr/man usr/info usr/X11R6 usr/doc usr/locale
* Fix the "alway overflow" eerror message to not use the messageZac Medico2010-09-101-1/+1
| | | | intended for "implicit pointer".
* Make the "always overflow" gcc warning code use a separate variableZac Medico2010-09-101-8/+20
| | | | | from the "implicit pointer" code in install_qa_check(), so they don't interfere.
* Make the "warning: call to .* will always overflow destination buffer"Zac Medico2010-09-091-0/+3
| | | | | gcc warning fatal. Thanks to Diego Pettenò <flameeyes@g.o> for the suggestion.
* Remove all \a (alert/bell/beep) tokens (bug 336024)Sebastian Luther2010-09-061-24/+22
|
* When signaling successful exit from an ebuild phase via ebuild-ipc,Zac Medico2010-09-021-1/+4
| | | | | | first check for non-empty $SANDBOX_LOG and signal unsuccessful exit if necessary. This fixes an issue with phases being treated as successful even when there were sandbox violations.
* Bug #335340 - Add support for PORTAGE_BZIP2_COMMAND andZac Medico2010-08-301-1/+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.
* Bug fix in canonicalize() function.Ulrich Mueller2010-08-301-3/+3
|
* Add canonicalize() function, replacement for "readlink -f".v2.2_rc72Ulrich Mueller2010-08-281-16/+22
| | | | | Expand symlinks in prepcompress() completely, not only to the last directory component.
* Change a comment in prepcompress().Ulrich Mueller2010-08-281-2/+3
|
* Implement controllable compression and docompress, bug #273633.Ulrich Mueller2010-08-281-0/+97
|
* Remove python-oriented checks from install_qa_check() since I'm unsureZac Medico2010-08-221-29/+0
| | | | | about these policy decisions being included in portage. Besides, these kinds of things could go in the python eclass.
* Bug #324191 - Add support for FEATURES=compress-build-logs. The causesZac Medico2010-08-211-2/+6
| | | | | | | all build logs to be compressed while they are being written. Log file names have an extension that is appropriate for the compression type. Currently, only gzip(1) compression is supported, so build logs will have a '.gz' extension when this feature is enabled.
* Disable EbuildIpcDaemon for now, since it seems to be triggeringZac Medico2010-08-141-0/+1
| | | | | intermittent build failures in my stage builds. For testing purposes set PORTAGE_IPC_DAEMON_ENABLE=1 to enable EbuildIpcDaemon.
* Use /usr/bin/python when PORTAGE_PYTHON variable is empty.Arfrever Frehtes Taifersar Arahesis2010-08-141-2/+2
| | | | It avoids some errors during upgrade from older Portage versions.
* Ensure that all Python processes use the same version of Python.Arfrever Frehtes Taifersar Arahesis2010-08-141-4/+4
|
* Add QA check for libtool libraries in Python site-packages directories.Arfrever Frehtes Taifersar Arahesis2010-08-131-0/+9
|
* Add QA check for static libraries in Python site-packages directories.Arfrever Frehtes Taifersar Arahesis2010-08-131-2/+12
|
* Use EbuildIpcDaemon to replace the functionality ofZac Medico2010-08-131-3/+1
| | | | EBUILD_EXIT_STATUS_FILE.
* Make some variables local.Arfrever Frehtes Taifersar Arahesis2010-08-051-3/+12
|
* Bug #301915: Add QA check for byte-compiled Python modules.Arfrever Frehtes Taifersar Arahesis2010-08-051-5/+4
|
* install_qa_check: catch more gcc warningsMike Frysinger2010-07-191-0/+29
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* misc-functions.sh fix for baselayoutDaniel Robbins2010-06-271-0/+2
|
* Bug #321145: Don't ignore exit status of filter-bash-environment.py and ↵Arfrever Frehtes Taifersar Arahesis2010-05-251-1/+1
| | | | check-implicit-pointer-usage.py.
* Extend QA check for absolute symlinks in lib dirs to more file typesSebastian Luther2010-05-151-11/+14
|
* Fix typo in check for shared libraries lacking NEEDED entries.Arfrever Frehtes Taifersar Arahesis2010-04-161-1/+1
|
* Add back executable bits, accidentally removed in previous commit.Zac Medico2010-03-241-0/+0
|
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* install_qa_check: make sure init.d and conf.d files do not have syntax ↵Mike Frysinger2010-03-231-0/+9
| | | | | | errors in them #310805 svn path=/main/trunk/; revision=15843
* Bug #295715 - Implement a register_success_hook function to complementZac Medico2009-12-061-0/+16
| | | | | | | 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