Browse Source

bin/build-packages: remove code which got moved into archbuild (for devtools32)

Erich Eckner 3 months ago
parent
commit
10a00d63f5
1 changed files with 0 additions and 8 deletions
  1. 0
    8
      bin/build-packages

+ 0
- 8
bin/build-packages View File

@@ -542,14 +542,6 @@ while [ "${count}" -ne 0 ] && \
542 542
         find . -maxdepth 1 -type f \( -name '*.pkg.tar.xz' -o -name '*.pkg.tar.xz.sig' \) -exec \
543 543
           rm {} \;
544 544
 
545
-        if echo "${outerParameters}" | \
546
-          grep -qwF -- '-c'; then
547
-          # sometimes it is necessary to manually remove the root/ build
548
-          # directory (due to leftover mounts of /run) - so we just do
549
-          # it everytime '-c' is set
550
-          recursively_umount_and_rm '/var/lib/archbuild/'"${build_command%-build}"
551
-        fi
552
-
553 545
         echo 'building' > "${tmp_dir}/.ping-build-master"
554 546
         >&2 printf '%s: building package "%s" (revisions %s %s, repository %s, straw %s) for %s ...' \
555 547
           "$(date +'%Y-%m-%d %T')" \