From 0efecd816c34f9cc842b68c84962352676a0e6cd Mon Sep 17 00:00:00 2001 From: blacktop Date: Sun, 24 Nov 2024 16:22:27 -0700 Subject: [PATCH] chore: add 15.1 --- .github/workflows/c-cpp.yml | 4 ++-- README.md | 1 + build.sh | 10 ++++++++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index b384f2c..5d23067 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -19,7 +19,7 @@ jobs: runs-on: macos-latest strategy: matrix: - macos-version: [ '15.0' ] + macos-version: [ '15.1' ] steps: - name: Checkout uses: actions/checkout@v4 @@ -31,7 +31,7 @@ jobs: # brew update brew install bash blacktop/tap/ipsw # sudo ipsw dl kdk --host --install - sudo xcode-select -s /Applications/Xcode_15.3.app + sudo xcode-select -s /Applications/Xcode_16.0.app - name: kmutil help # This is to check for what flags are available run: | diff --git a/README.md b/README.md index c33b7ec..4f0c85e 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ | macOS 14.5 | ✅ | [DB](https://github.com/blacktop/darwin-xnu-build/releases/download/v14.5/xnu-codeql.zip) | ✅ / ✅ | | macOS 14.6 | ✅ | [DB](https://github.com/blacktop/darwin-xnu-build/releases/download/v14.6/xnu-codeql.zip) | ❔ / ❔ | | macOS 15.0 | ✅ | [DB](https://github.com/blacktop/darwin-xnu-build/releases/download/v15.0/xnu-codeql.zip) | ✅ / ✅ | +| macOS 15.1 | ✅ | [DB](https://github.com/blacktop/darwin-xnu-build/releases/download/v15.1/xnu-codeql.zip) | ❔ / ❔ | > [!NOTE] > CodeQL DBs built with `MACHINE_CONFIG=VMAPPLE` diff --git a/build.sh b/build.sh index 5bd85cb..0403df5 100755 --- a/build.sh +++ b/build.sh @@ -132,7 +132,7 @@ install_ipsw() { choose_xnu() { if [ -z "$MACOS_VERSION" ]; then gum style --border normal --margin "1" --padding "1 2" --border-foreground 212 "Choose $(gum style --foreground 212 'macOS') version to build:" - MACOS_VERSION=$(gum choose "12.5" "13.0" "13.1" "13.2" "13.3" "13.4" "13.5" "14.0" "14.1" "14.2" "14.3" "14.4" "14.5" "14.6" "15.0") + MACOS_VERSION=$(gum choose "12.5" "13.0" "13.1" "13.2" "13.3" "13.4" "13.5" "14.0" "14.1" "14.2" "14.3" "14.4" "14.5" "14.6" "15.0" "15.1") fi TIGHTBEAMC="tightbeamc-not-supported" case ${MACOS_VERSION} in @@ -226,6 +226,12 @@ choose_xnu() { KDKROOT='/Library/Developer/KDKs/KDK_15.0_24A335.kdk' RC_DARWIN_KERNEL_VERSION='24.0.0' ;; + '15.1') + RELEASE_URL='https://raw.githubusercontent.com/apple-oss-distributions/distribution-macOS/macos-151/release.json' + KDK_NAME='Kernel Debug Kit 15.1 build 24B83' + KDKROOT='/Library/Developer/KDKs/KDK_15.1_24B83.kdk' + RC_DARWIN_KERNEL_VERSION='24.1.0' + ;; *) error "Invalid xnu version" exit 1 @@ -291,7 +297,7 @@ patches() { '14.4' | '14.5') PATCH_DIR="${WORK_DIR}/patches/14.4" ;; - '14.6' | '15.0') + '14.6' | '15.0' | '15.1') PATCH_DIR="${WORK_DIR}/patches/15.0" ;; *)