mirror of
https://github.com/dockur/macos.git
synced 2026-03-11 08:34:24 +00:00
fix: Use kern.hv_vmm_present=0 for Sequoia (#160)
This commit is contained in:
parent
431e95d798
commit
b37ed52881
4 changed files with 1962 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ RUN set -eu && \
|
|||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
COPY --chmod=755 ./src /run/
|
||||
COPY --chmod=644 ./config.plist /
|
||||
COPY --chmod=755 ./assets /assets/
|
||||
COPY --chmod=755 --from=builder /macserial /usr/local/bin/
|
||||
|
||||
ADD --chmod=644 \
|
||||
|
|
|
|||
1950
assets/sequoia.plist
Normal file
1950
assets/sequoia.plist
Normal file
File diff suppressed because it is too large
Load diff
12
src/boot.sh
12
src/boot.sh
|
|
@ -80,7 +80,17 @@ if [ ! -f "$IMG" ]; then
|
|||
mcopy -bspmQ -i "$ISO@@${START}S" ::EFI "$OUT"
|
||||
|
||||
CFG="$OUT/EFI/OC/config.plist"
|
||||
cp /config.plist "$CFG"
|
||||
|
||||
case "${VERSION,,}" in
|
||||
"sequoia" | "15"* )
|
||||
PLIST="/assets/sequoia.plist" ;;
|
||||
* )
|
||||
PLIST="/assets/default.plist" ;;
|
||||
esac
|
||||
|
||||
[ -f "/config.plist" ] && PLIST="/config.plist"
|
||||
|
||||
cp "$PLIST" "$CFG"
|
||||
|
||||
ROM="${MAC//[^[:alnum:]]/}"
|
||||
ROM="${ROM,,}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue