Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use local ED for uniformity. | Zac Medico | 2011-11-09 | 1 | -61/+54 |
| | | | | | | | The ED variable is not readonly in EAPI 0, 1, and 2, so we can declare ED as a local variable. We must be careful not to let this variable leak into the environment of ebuild/eclass functions that we call, since bash propagates local variables to nested function calls. | ||||
* | Add EPREFIX and ED support in all ebuild helpers. | Zac Medico | 2011-11-01 | 1 | -51/+73 |
| | | | | This allows our prefix tests to use helpers like insinto, doins, and dosym. | ||||
* | Merge install_qa_check_prefix from prefix branch. | Zac Medico | 2011-11-01 | 1 | -0/+124 |
| | |||||
* | misc-functions.sh: condense world-writable output | Zac Medico | 2011-10-20 | 1 | -7/+7 |
| | |||||
* | misc-functions.sh: move sleep out of loop | Zac Medico | 2011-10-20 | 1 | -2/+2 |
| | | | | | | Having sleep in the world-writable loop causes riduculous delays for prefix users with exotic filesystem constraints (like a FAT filesystem mounted with umask=000). | ||||
* | Add QA_SONAME_NO_SYMLINK for bug #387053. | Zac Medico | 2011-10-13 | 1 | -0/+4 |
| | |||||
* | install_hooks: fix variable name for PORTAGE_CONFIGROOT | Fabian Groffen | 2011-09-23 | 1 | -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 Arahesis | 2011-09-23 | 1 | -1/+1 |
| | |||||
* | add install hooks | Brian Harring | 2011-09-21 | 1 | -0/+15 |
| | |||||
* | install_qa_check: adjust "poor programming" msgs | Zac Medico | 2011-09-18 | 1 | -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 usage | Zac Medico | 2011-07-12 | 1 | -1/+1 |
| | |||||
* | Remove all hasq/useq calls for bug #199722. | Zac Medico | 2011-07-08 | 1 | -11/+11 |
| | |||||
* | misc-functions.sh: remove stale NEEDED* files | Zac Medico | 2011-06-30 | 1 | -0/+1 |
| | |||||
* | Add a QA check for systemd unit file install. | Michał Górny | 2011-06-24 | 1 | -0/+10 |
| | |||||
* | install_qa_check(): Simplify code and make 'l' a local variable. | Arfrever Frehtes Taifersar Arahesis | 2011-04-30 | 1 | -3/+3 |
| | |||||
* | Check for references to ${ROOT} in install_qa_checks. | David James | 2011-04-29 | 1 | -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 py | David James | 2011-04-28 | 1 | -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 warnings | Ryan Hill | 2011-04-26 | 1 | -18/+18 |
| | |||||
* | Update date headers in modified files. | Zac Medico | 2011-02-19 | 1 | -1/+1 |
| | |||||
* | docompress, prepcompress: Add missing quotes. | Ulrich Mueller | 2011-02-19 | 1 | -1/+1 |
| | |||||
* | bash: as a general rule, use read -r | Zac Medico | 2010-12-29 | 1 | -4/+4 |
| | | | | This solves cases like bug #350045. | ||||
* | Substitute bash builtin >> for touch command. | Zac Medico | 2010-12-19 | 1 | -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 $FILESDIR | Zac Medico | 2010-10-29 | 1 | -1/+3 |
| | | | | This should fix bug 342721. | ||||
* | Fix readonly variable assignment for PORTAGE_BINPKG_TMPFILE when | Zac Medico | 2010-09-30 | 1 | -1/+1 |
| | | | | ebuild(1) calls the 'package' phase. | ||||
* | Bug #336873 - Add a leading comma when matching --hash-style=gnu | Zac Medico | 2010-09-13 | 1 | -1/+1 |
| | | | | in LDFLAGS, in order to try and filter out invalid settings. | ||||
* | Bug #337031 - Don't make "always overflow destination buffers" gccv2.2_rc81 | Zac Medico | 2010-09-12 | 1 | -3/+4 |
| | | | | warnings fatal for now. | ||||
* | Bug #273282 - Make install_qa_check() eqawarn about installation intov2.2_rc79 | Zac Medico | 2010-09-10 | 1 | -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 message | Zac Medico | 2010-09-10 | 1 | -1/+1 |
| | | | | intended for "implicit pointer". | ||||
* | Make the "always overflow" gcc warning code use a separate variable | Zac Medico | 2010-09-10 | 1 | -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 Medico | 2010-09-09 | 1 | -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 Luther | 2010-09-06 | 1 | -24/+22 |
| | |||||
* | When signaling successful exit from an ebuild phase via ebuild-ipc, | Zac Medico | 2010-09-02 | 1 | -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 and | Zac Medico | 2010-08-30 | 1 | -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 Mueller | 2010-08-30 | 1 | -3/+3 |
| | |||||
* | Add canonicalize() function, replacement for "readlink -f".v2.2_rc72 | Ulrich Mueller | 2010-08-28 | 1 | -16/+22 |
| | | | | | Expand symlinks in prepcompress() completely, not only to the last directory component. | ||||
* | Change a comment in prepcompress(). | Ulrich Mueller | 2010-08-28 | 1 | -2/+3 |
| | |||||
* | Implement controllable compression and docompress, bug #273633. | Ulrich Mueller | 2010-08-28 | 1 | -0/+97 |
| | |||||
* | Remove python-oriented checks from install_qa_check() since I'm unsure | Zac Medico | 2010-08-22 | 1 | -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 causes | Zac Medico | 2010-08-21 | 1 | -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 triggering | Zac Medico | 2010-08-14 | 1 | -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 Arahesis | 2010-08-14 | 1 | -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 Arahesis | 2010-08-14 | 1 | -4/+4 |
| | |||||
* | Add QA check for libtool libraries in Python site-packages directories. | Arfrever Frehtes Taifersar Arahesis | 2010-08-13 | 1 | -0/+9 |
| | |||||
* | Add QA check for static libraries in Python site-packages directories. | Arfrever Frehtes Taifersar Arahesis | 2010-08-13 | 1 | -2/+12 |
| | |||||
* | Use EbuildIpcDaemon to replace the functionality of | Zac Medico | 2010-08-13 | 1 | -3/+1 |
| | | | | EBUILD_EXIT_STATUS_FILE. | ||||
* | Make some variables local. | Arfrever Frehtes Taifersar Arahesis | 2010-08-05 | 1 | -3/+12 |
| | |||||
* | Bug #301915: Add QA check for byte-compiled Python modules. | Arfrever Frehtes Taifersar Arahesis | 2010-08-05 | 1 | -5/+4 |
| | |||||
* | install_qa_check: catch more gcc warnings | Mike Frysinger | 2010-07-19 | 1 | -0/+29 |
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | misc-functions.sh fix for baselayout | Daniel Robbins | 2010-06-27 | 1 | -0/+2 |
| | |||||
* | Bug #321145: Don't ignore exit status of filter-bash-environment.py and ↵ | Arfrever Frehtes Taifersar Arahesis | 2010-05-25 | 1 | -1/+1 |
| | | | | check-implicit-pointer-usage.py. |