images/archlinux: don't rm root in genimg cleanup

If we fail to umount, then this spams the logfile with numerous
errors, making it difficult to understand the cause of the issue.
This isn't a useful thing to do in the first place since this
directory is mounted.
This commit is contained in:
Simon Ser 2024-03-16 16:03:21 +01:00
parent 63ea8ae8c0
commit 2b0d4e25cb
1 changed files with 0 additions and 1 deletions

View File

@ -7,7 +7,6 @@ cleanup() {
umount -Rf "$root"/boot || true
umount -Rf "$root" || true
qemu-nbd --disconnect /dev/nbd0 || true
rm -rf "$root" || true
}
mkdir -p "$arch"