diff options
Diffstat (limited to 'abuild.in')
-rw-r--r-- | abuild.in | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -2074,8 +2074,18 @@ checksum() { } rootbld_actions() { - local part - for part in symlinksrc unpack prepare build rootpkg; do + local part _build=build _check=check_fakeroot + if ! is_function package; then + # if package() is missing then build is called from rootpkg + _build=true + fi + if options_has "!checkroot"; then + _check=check + fi + if ! want_check; then + _check=true + fi + for part in symlinksrc unpack prepare $_build $_check rootpkg; do runpart $part done } |