fix: Use kern.hv_vmm_present=0 for Sequoia (#160)
Some checks failed
Build / Test (push) Has been cancelled
Build / Build (push) Has been cancelled

This commit is contained in:
thinker007 2024-12-21 00:24:11 +08:00 committed by GitHub
parent 431e95d798
commit b37ed52881
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 1962 additions and 2 deletions

View file

@ -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

File diff suppressed because it is too large Load diff

View file

@ -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,,}"