Skip to content

Commit

Permalink
Change variable names in patch_driver.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaGarg8 authored May 16, 2024
1 parent af6e2a0 commit d55f8f6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions patch_driver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ set -eu -o pipefail
BUILD_PATH=/tmp/build-kernel

# Patches
APPLE_SMC_DRIVER_GIT_URL=https://github.com/t2linux/linux-t2-patches.git
APPLE_SMC_DRIVER_BRANCH_NAME=6.6
APPLE_SMC_DRIVER_COMMIT_HASH=HEAD
T2_PATCHES_GIT_URL=https://github.com/t2linux/linux-t2-patches.git
T2_PATCHES_BRANCH_NAME=6.6
T2_PATCHES_COMMIT_HASH=HEAD

rm -rf "${BUILD_PATH}"
mkdir -p "${BUILD_PATH}"
cd "${BUILD_PATH}" || exit

### AppleSMC and BT aunali fixes
git clone --single-branch --branch ${APPLE_SMC_DRIVER_BRANCH_NAME} ${APPLE_SMC_DRIVER_GIT_URL} \
git clone --single-branch --branch ${T2_PATCHES_BRANCH_NAME} ${T2_PATCHES_GIT_URL} \
"${BUILD_PATH}/linux-mbp-arch"
cd "${BUILD_PATH}/linux-mbp-arch" || exit
git checkout ${APPLE_SMC_DRIVER_COMMIT_HASH}
git checkout ${T2_PATCHES_COMMIT_HASH}

while IFS= read -r file; do
echo "==> Adding ${file}"
Expand Down

0 comments on commit d55f8f6

Please sign in to comment.