experiment-x/scripts/monterey/Makefile
Dhiru Kholia dad4131633 OSX-KVM - June 2021 Batch Update
Changes:

- Upgrade to OpenCore 0.7.0

- Upgrade OVMF to ovmf_2021.05-1_all.deb

- Add installer build script for Monterey developer beta (nick)

- Sync config.plist with Nick's upstream repository

- Misc. fixes (nick and others)
2021-06-20 15:44:38 +05:30

19 lines
671 B
Makefile

# Builds a full installer (Monterey-full.img) for Monterey Developer Beta.
# You need to opt-in to the Developer beta program first and get the Monterey installer app using System Update
MONTEREY_APP=/Applications/Install\ macOS\ 12\ Beta.app
all: Monterey-full.img
%.img : %.dmg
ln $< $@ || cp $< $@
Monterey-full.dmg : $(MONTEREY_APP)
hdiutil create -o "$@" -size 14g -layout GPTSPUD -fs HFS+J
hdiutil attach -noverify -mountpoint /Volumes/install_build "$@"
sudo "$</Contents/Resources/createinstallmedia" --volume /Volumes/install_build --nointeraction
hdiutil detach "/Volumes/Install macOS 12 Beta"
clean :
rm -f Monterey-recovery.img Monterey-full.img