a9d0d0f697
128gb is a bit low and very hard to grow APFS inside a qcow after creation (convert to raw 128GB, grow disk, expand partition in apple recovery, etc. convert back)
16 lines
348 B
Makefile
16 lines
348 B
Makefile
# export SHORTNAME=monterey
|
|
DISK_SIZE := 256G
|
|
|
|
all: BaseSystem.img mac_hdd_ng.img
|
|
|
|
BaseSystem.img: BaseSystem.dmg
|
|
qemu-img convert BaseSystem.dmg -O raw BaseSystem.img
|
|
|
|
BaseSystem.dmg:
|
|
./fetch-macOS-v2.py --short=$(SHORTNAME)
|
|
|
|
mac_hdd_ng.img:
|
|
qemu-img create -f qcow2 mac_hdd_ng.img ${DISK_SIZE}
|
|
|
|
clean:
|
|
rm -rf BaseSystem{.dmg,.img,.chunklist}
|