%bcond_with pae # build PAE (HIGHMEM64G) support on 32bit i686 athlon pentium3 pentium4
%bcond_with nfsroot # build with root on NFS support
-%bcond_without imq # imq support
%bcond_without ipv6 # ipv6 support
%bcond_without aufs # aufs4 support
%define have_pcmcia 0
%endif
-%define rel 1
-%define basever 6.5
-%define postver .2
+%define rel 2
+%define basever 6.6
+%define postver .4
# define this to '-%{basever}' for longterm branch
%define versuffix %{nil}
License: GPL v2
Group: Base/Kernel
Source0: https://www.kernel.org/pub/linux/kernel/v6.x/linux-%{basever}.tar.xz
-# Source0-md5: 42c2796f9babe4a1be3f2001c817ff4a
+# Source0-md5: 452098d80ba925af3a4ab35998f3aef5
%if "%{postver}" != ".0"
Patch0: https://www.kernel.org/pub/linux/kernel/v6.x/patch-%{version}.xz
-# Patch0-md5: 54a6a3674e1be858de9192747b92521b
+# Patch0-md5: 0d2c1c3ef1c023d9c5f34d19eaad4cb0
%endif
Source1: kernel.sysconfig
Source43: kernel-vserver.config
Source44: kernel-rt.config
-Source55: kernel-imq.config
-
Source58: kernel-inittmpfs.config
Patch2: android-enable-building-binder-as-module.patch
### End netfilter
-# http://www.linuximq.net
-Patch50: kernel-imq.patch
-
# by Baggins request:
# derived from ftp://ftp.cmf.nrl.navy.mil/pub/chas/linux-atm/vbr/vbr-kernel-diffs
Patch55: kernel-atm-vbr.patch
Patch2000: kernel-small_fixes.patch
Patch2001: kernel-pwc-uncompress.patch
-Patch2003: kernel-regressions.patch
# for rescuecd
# based on ftp://ftp.leg.uct.ac.za/pub/linux/rip/tmpfs_root-2.6.30.diff.gz
Patch8004: ath-regd.patch
Patch8005: rkvdec-hevc.patch
+Patch9000: neighbour-randomize-layout-crash.patch
+
# Do not remove this line, please. It is easier for me to uncomment two lines, then patch
# kernel.spec every time.
#Patch50000: kernel-usb_reset.patch
##
# end of netfilter
-%if %{with imq}
-#%patch50 -p1
-%endif
-
%patch55 -p1
%patch56 -p1
%patch8005 -p1
%endif
+%patch9000 -p1
+
%if %{with rt}
%patch500 -p1
rm -f localversion-rt
# Small fixes:
%patch2000 -p1
%patch2001 -p1
-#%patch2003 -p1
# Do not remove this, please!
#%%patch50000 -p1
rescue.config \
%endif
\
-%if %{with imq}
- %{SOURCE55} \
-%endif
%if %{with vserver}
%{SOURCE43} \
%endif
mv -f /boot/System%{_alt_kernel}.map{,.old} 2> /dev/null
ln -sf vmlinuz-%{kernel_release} /boot/vmlinuz%{_alt_kernel}
ln -sf System.map-%{kernel_release} /boot/System.map%{_alt_kernel}
+%ifarch %{arm} aarch64
+ test -L /boot/dtb%{_alt_kernel}.old && rm /boot/dtb%{_alt_kernel}.old
+ test ! -e /boot/dtb%{_alt_kernel}.old && mv -f /boot/dtb%{_alt_kernel}{,.old} 2> /dev/null
+ ln -sf dtb-%{kernel_release} /boot/dtb%{_alt_kernel}
+%endif
%endif
fi