diff options
-rwxr-xr-x | build-arch-iso | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build-arch-iso b/build-arch-iso index 7c76b8f..a7eb1e5 100755 --- a/build-arch-iso +++ b/build-arch-iso @@ -7,8 +7,7 @@ if [ "$(whoami)" != "root" ]; then exit $? fi -tmp_dir="$(mktemp -d)" -destination="${tmp_dir}" +destination="$(mktemp -d)" systemctl stop boinc @@ -30,4 +29,6 @@ cp /usr/share/archiso/configs/releng/out/archlinux-*.iso "${destination}/" rsync -v "'"${destination}"'/"archlinux-*.iso /mnt/archlinux32/archisos/testing/ +rm -rf --one-file-system "${destination}" + systemctl start boinc |