Skip to content
Snippets Groups Projects
Commit b14a1b1b authored by Pierre Schmitz's avatar Pierre Schmitz
Browse files

archbuild: do not cross filesystems when removing the chroot copies

parent 0cd9e1ae
No related branches found
No related tags found
No related merge requests found
......@@ -51,11 +51,11 @@ if ${clean_first} || [[ ! -d "${chroots}/${repo}-${arch}" ]]; then
fi
{ type -P btrfs && btrfs subvolume delete "${copy}"; } &>/dev/null
rm -rf "${copy}"
rm -rf --one-file-system "${copy}"
done
exec 9>&-
rm -rf "${chroots}/${repo}-${arch}"
rm -rf --one-file-system "${chroots}/${repo}-${arch}"
mkdir -p "${chroots}/${repo}-${arch}"
setarch "${arch}" mkarchroot \
-C "@pkgdatadir@/pacman-${repo}.conf" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment