Add exists exits and required serial number files for building disk

This commit is contained in:
sickcodes 2021-02-26 09:25:40 +00:00
parent 258f6b455d
commit 91131a6bbb
5 changed files with 11 additions and 8 deletions

View file

@ -183,6 +183,8 @@ download_qcow_efi_folder () {
generate_serial_sets () {
[[ -e ./config-nopicker-custom.plist ]] || wget https://raw.githubusercontent.com/sickcodes/Docker-OSX/custom-identity/custom/config-nopicker-custom.plist
[[ -e ./opencore-image-ng.sh ]] || wget https://raw.githubusercontent.com/sickcodes/Docker-OSX/custom-identity/custom/opencore-image-ng.sh && chmod +x opencore-image-ng.sh
mkdir -p "${OUTPUT_DIRECTORY}/envs"
export DATE_NOW="$(date +%F-%T)"
export DEVICE_MODEL="${DEVICE_MODEL:=iMacPro1,1}"