Change mktemp dir to /var/tmp

To allow building on systems that don't have enough memory to contain
the image
This commit is contained in:
Leif Liddy 2022-12-23 21:25:24 +01:00
parent 40c5a9a10c
commit 92fc5475cc
No known key found for this signature in database
GPG Key ID: 8A7AD507B1EEF020

View File

@ -32,7 +32,7 @@ fi
requireCommands 7z awk cat cp dd fdisk file mkdir mv stat wget
workdir="$(mktemp -d)"
workdir="$(mktemp -dp /var/tmp)"
trap 'rm -rf "$workdir"' EXIT
basedir="$PWD"