experiment-x/Makefile
sickcodes a9d0d0f697
Make default disk size bigger (#189)
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)
2021-11-28 07:35:37 +05:30

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}