diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-10-03 12:29:57 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-10-03 12:37:08 +0000 |
commit | 0bf61ee06a6c91695111202650a440297c405e2d (patch) | |
tree | 88f364f888537988b3850a13489bbfd3f1afe1e5 /abuild.in | |
parent | 3379e675512dfdde74a9048af80db825e9ebdb07 (diff) | |
download | abuild-0bf61ee06a6c91695111202650a440297c405e2d.tar.gz abuild-0bf61ee06a6c91695111202650a440297c405e2d.tar.bz2 abuild-0bf61ee06a6c91695111202650a440297c405e2d.tar.xz abuild-0bf61ee06a6c91695111202650a440297c405e2d.zip |
abuild: do not run check in fakeroot by default
Only run check in fakeroot if options="checkroot" is set. This makes
options="!checkroot" the default.
I expect most checks work as non-root, and if a testsuite requires root,
it will likely fail in fakeroot too. Fakeroot has also shown lower
performance for parallel builds.
Diffstat (limited to 'abuild.in')
-rw-r--r-- | abuild.in | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1508,9 +1508,9 @@ create_apks() { } build_abuildrepo() { - local d apk _check=check_fakeroot - if options_has "!checkroot"; then - _check=check + local _check=check + if options_has "checkroot"; then + _check=check_fakeroot fi if ! want_check; then _check=true @@ -2125,9 +2125,9 @@ checksum() { } rootbld_actions() { - local part _check=check_fakeroot - if options_has "!checkroot"; then - _check=check + local part _check=check + if options_has "checkroot"; then + _check=check_fakeroot fi if ! want_check; then _check=true |