From 0bf61ee06a6c91695111202650a440297c405e2d Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 3 Oct 2018 12:29:57 +0000 Subject: 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. --- abuild.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'abuild.in') diff --git a/abuild.in b/abuild.in index 6271f8c..697af2a 100644 --- a/abuild.in +++ b/abuild.in @@ -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 -- cgit v1.2.3-60-g2f50