Update kernel to v6.9.7-200

This commit is contained in:
sharpenedblade
2024-07-04 15:33:30 -07:00
parent db088001ea
commit 57e7f340dc
2 changed files with 2 additions and 5 deletions
+1 -4
View File
@@ -1,7 +1,7 @@
#!/usr/bin/bash
set -e
KERNEL_VERSION=6.9.4-200.fc40
KERNEL_VERSION=6.9.7-200.fc40
cd "$sourcedir"
koji download-build --quiet --arch=src "kernel-$KERNEL_VERSION"
@@ -9,9 +9,6 @@ rpmdev-extract -q "kernel-$KERNEL_VERSION.src.rpm"
mv -n "kernel-$KERNEL_VERSION.src"/* .
rm -r "kernel-$KERNEL_VERSION.src.rpm" "kernel-$KERNEL_VERSION.src"
# Fedora devs are against merging kernel-local for all architectures when keys are not properly specified, so we have to patch it in.
sed -i "s@for i in %{all_arch_configs}@for i in *.config@g" "kernel.spec"
# Set buildid to .t2
sed -i 's/# define buildid .local/%define buildid .t2/g' "kernel.spec"