Unverified Commit b37ed528 authored by thinker007's avatar thinker007 Committed by GitHub
Browse files

fix: Use kern.hv_vmm_present=0 for Sequoia (#160)

parent 431e95d7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 \
+0 −0

File moved.

assets/sequoia.plist

0 → 100644
+1950 −0

File added.

Preview size limit exceeded, changes collapsed.

+11 −1
Original line number Diff line number Diff line
@@ -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,,}"