index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2019-06-20 09:01:46 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2019-06-20 09:01:46 +0200 |
commit | c3b83eb5988bff1534445502957eaa91f11b4dac (patch) | |
tree | 9c87473deefc2c3bf1aebfb6327a5f2741351252 /bin | |
parent | c681b098f53f8fd86cbe720f643c1a528d2f2f60 (diff) |
-rwxr-xr-x | bin/build-packages | 6 |
diff --git a/bin/build-packages b/bin/build-packages index bb2ecba..9c69c5a 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -469,9 +469,9 @@ while [ "${count}" -ne 0 ] && \ if echo "${straw}" | \ grep -qF ':clean_chroot:'; then - outerParameters='-c' + outerParameters="-c -r ${archbuild_chroots}" else - outerParameters='' + outerParameters="-r ${archbuild_chroots}" fi innerParameters='--nocolor' @@ -538,7 +538,7 @@ while [ "${count}" -ne 0 ] && \ # sometimes it is necessary to manually remove the root/ build # directory (due to leftover mounts of /run) - so we just do # it everytime '-c' is set - recursively_umount_and_rm '/var/lib/archbuild/'"${build_command%-build}" + recursively_umount_and_rm "${archbuild_chroots}/""${build_command%-build}" fi echo 'building' > "${tmp_dir}/.ping-build-master" |