enable kernel 7.2.y patching (#9)

actually against current stable 7.2.8
This commit is contained in:
masterzorag authored and GitHub committed 2026-10-01 22:55:25 +02:00
1 parent c4431c6686
commit 4aff908553
1 file changed
+2
+2
View File
@@ -128,6 +128,7 @@ prepare_source() {
if git_driver apply --check "$KERNEL71_PATCH" >/dev/null 2>&1; then
say "Applying kernel 7.1 cfg80211 API compatibility patch"
git_driver apply "$KERNEL71_PATCH"
git_driver apply "$KERNEL72_PATCH"
elif git_driver apply -R --check "$KERNEL71_PATCH" >/dev/null 2>&1; then
say "Kernel 7.1 cfg80211 API compatibility patch is already applied"
else
@@ -137,6 +138,7 @@ prepare_source() {
# Applied last: it touches moal_sta_cfg80211.c, which the kernel71 compat
# patch also edits, so it is generated against the post-kernel71 tree.
# Also note kernel72 patch does not add or remove any lines, no changes.
[ -f "$RTNL_PATCH" ] || die "patch file not found: $RTNL_PATCH"
if git_driver apply --check "$RTNL_PATCH" >/dev/null 2>&1; then
say "Applying RTNL bounded-wait patch"