diff options
| author | sickcodes <[email protected]> | 2021-02-26 09:25:40 +0000 |
|---|---|---|
| committer | sickcodes <[email protected]> | 2021-02-26 09:25:40 +0000 |
| commit | 91131a6bbbe92615852e14e4b8e427ebe743f3a5 (patch) | |
| tree | 44e585e3756fb9bc799266036a208dc5b3604dfc /Dockerfile | |
| parent | Fix /env permissions for persistence after GENERATE_UNIQUE. Fix the following... (diff) | |
| download | docker-osx-91131a6bbbe92615852e14e4b8e427ebe743f3a5.tar.xz docker-osx-91131a6bbbe92615852e14e4b8e427ebe743f3a5.zip | |
Add exists exits and required serial number files for building disk
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -281,7 +281,7 @@ CMD sudo chown -R $(id -u):$(id -g) /dev/kvm /dev/snd "${IMAGE_PATH}" "${BOOTDIS --tsv ./serial.tsv \ --bootdisks \ --output-bootdisk "${BOOTDISK:-/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore.qcow2}" \ - --output-env "${ENV:=/env}" \ + --output-env "${ENV:=/env}" || exit 1 \ ; } \ ; [[ "${GENERATE_SPECIFIC}" == true ]] && { \ source "${ENV:=/env}" \ @@ -291,7 +291,7 @@ CMD sudo chown -R $(id -u):$(id -g) /dev/kvm /dev/snd "${IMAGE_PATH}" "${BOOTDIS --board-serial "${BOARD_SERIAL}" \ --uuid "${UUID}" \ --mac-address "${MAC_ADDRESS}" \ - --output-bootdisk "${BOOTDISK:-/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore.qcow2}" \ + --output-bootdisk "${BOOTDISK:-/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore.qcow2}" || exit 1 \ ; } \ ; case "$(file --brief /bootdisk)" in \ QEMU\ QCOW2\ Image* ) export BOOTDISK=/bootdisk \ |