Skip to content
This repository was archived by the owner on Feb 18, 2022. It is now read-only.

Commit bf78dd0

Browse files
committed
Kernel: update to 5.13.3
1 parent 294846f commit bf78dd0

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

build.sh

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -eu -o pipefail
44

5-
KERNEL_VERSION=5.12.15
5+
KERNEL_VERSION=5.13.3
66
KERNEL_REPOSITORY=https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
77
REPO_PATH=$(pwd)
88
WORKING_PATH=/root/work
@@ -72,24 +72,24 @@ make olddefconfig
7272
echo "" >"${KERNEL_PATH}"/.scmversion
7373

7474
# Build Deb packages
75-
make -j "$(getconf _NPROCESSORS_ONLN)" deb-pkg LOCALVERSION=-mbp KDEB_PKGVERSION="$(make kernelversion)-$(get_next_version mbp)"
75+
#make -j "$(getconf _NPROCESSORS_ONLN)" deb-pkg LOCALVERSION=-mbp KDEB_PKGVERSION="$(make kernelversion)-$(get_next_version mbp)"
7676

7777
# build alternate kernel with corellium's wifi patches, for MBP16,1/2/4 and MBA9,1
7878
echo >&2 "===]> Info: Create alternative kernel with corellium wifi patch... "
79-
make distclean
80-
make clean
79+
#make distclean
80+
#make clean
8181
# reverse other wifi patches
82-
while IFS= read -r file; do
83-
echo "==> Reverting $file"
84-
patch -R -p1 <"$file"
85-
done < <(find "${WORKING_PATH}/patches" -type f -name "*.patch" | grep "brcmfmac" | sort -r)
86-
87-
echo "==> Adding wifi-bigsur.patch"
88-
curl https://raw.githubusercontent.com/jamlam/mbp-16.1-linux-wifi/4c8b393ed7a874e3d9e44a2a467c1b7c74af1260/wifi-bigsur.patch \
89-
| patch -p1
90-
cp "${WORKING_PATH}/templates/default-config" "${KERNEL_PATH}/.config"
91-
make olddefconfig
92-
echo "" >"${KERNEL_PATH}"/.scmversion
82+
#while IFS= read -r file; do
83+
# echo "==> Reverting $file"
84+
# patch -R -p1 <"$file"
85+
#done < <(find "${WORKING_PATH}/patches" -type f -name "*.patch" | grep "brcmfmac" | sort -r)
86+
87+
#echo "==> Adding wifi-bigsur.patch"
88+
#curl https://raw.githubusercontent.com/jamlam/mbp-16.1-linux-wifi/4c8b393ed7a874e3d9e44a2a467c1b7c74af1260/wifi-bigsur.patch \
89+
#| patch -p1
90+
#cp "${WORKING_PATH}/templates/default-config" "${KERNEL_PATH}/.config"
91+
#make olddefconfig
92+
#echo "" >"${KERNEL_PATH}"/.scmversion
9393

9494
make -j "$(getconf _NPROCESSORS_ONLN)" deb-pkg LOCALVERSION=-mbp-16x-wifi KDEB_PKGVERSION="${KERNEL_VERSION}-$(get_next_version mbp)"
9595

patch_driver.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ BUILD_PATH=/tmp/build-kernel
66

77
### Apple T2 drivers commit hashes
88
# Patches
9-
APPLE_SMC_DRIVER_GIT_URL=https://github.com/aunali1/linux-mbp-arch.git
10-
APPLE_SMC_DRIVER_BRANCH_NAME=master
11-
APPLE_SMC_DRIVER_COMMIT_HASH=6386a7ff0871b9ec7101a0f6d92eee0b4307a859
9+
APPLE_SMC_DRIVER_GIT_URL=https://github.com/jamlam/mbp-16.1-linux-wifi.git
10+
APPLE_SMC_DRIVER_BRANCH_NAME=main
11+
APPLE_SMC_DRIVER_COMMIT_HASH=46e4665e286862d76d29701a334515a77734c58f
1212

1313

1414
rm -rf "${BUILD_PATH}"

0 commit comments

Comments
 (0)