Enable fetch-macOS-v2.py to run in unattended mode (via shortnames)

This commit is contained in:
sickcodes
2021-11-02 03:15:52 +00:00
committed by GitHub
parent a9ef589cc2
commit 9e23a98894
2 changed files with 28 additions and 13 deletions

View File

@@ -1,3 +1,4 @@
# export SHORTNAME=monterey
DISK_SIZE := 128G
all: BaseSystem.img mac_hdd_ng.img
@@ -6,7 +7,7 @@ BaseSystem.img: BaseSystem.dmg
qemu-img convert BaseSystem.dmg -O raw BaseSystem.img
BaseSystem.dmg:
./fetch-macOS-v2.py
./fetch-macOS-v2.py --short=$(SHORTNAME)
mac_hdd_ng.img:
qemu-img create -f qcow2 mac_hdd_ng.img ${DISK_SIZE}