imagebuilder: create output directory

This commit is contained in:
Starbeamrainbowlabs 2021-01-14 20:59:11 +00:00
parent 0aac8436a5
commit 9491fad482
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -170,6 +170,7 @@ case "${subcommand}" in
fi fi
output_dir="${temp_dir}/${imagename}"; output_dir="${temp_dir}/${imagename}";
mkdir -p "${output_dir}";
task_begin "Building base image"; task_begin "Building base image";
if [[ "${UID}" -ne 0 ]] && which fakeroot && which fakechroot; then if [[ "${UID}" -ne 0 ]] && which fakeroot && which fakechroot; then