unset CONFIG_COMPAT_VDSO to fix chromium crashes on x86 [release 3.18.21-4mamba;Fri Sep 25 2015]

This commit is contained in:
Silvan Calarco 2024-01-06 01:24:35 +01:00
parent aba51f1843
commit b0eef3e5c9
12 changed files with 3537 additions and 39209 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -21,7 +21,7 @@
# Don't parametrize this, it's a check to avoid build a kernel without having
# edited the obsoletes needed for multiple kernel support
%define KERNEL_OBSOLETES_ARE_FOR_VERSION 3.14.48
%define KERNEL_OBSOLETES_ARE_FOR_VERSION 3.18.21
#% define kernel_longterm 1
%define kernel_majver %(echo %version | cut -d. -f1-2)
@ -86,8 +86,8 @@
%define _use_internal_dependency_generator 1
Name: kernel
Version: 3.14.48
Release: 1mamba
Version: 3.18.21
Release: 4mamba
Summary: The Linux Kernel, the operating system core itself
Group: System/Kernel and Hardware
Vendor: openmamba
@ -102,17 +102,17 @@ Source0: ftp://ftp.kernel.org/pub/linux/kernel/v3.x/linux-%{kernel_ver}.ta
#Source0: http://www.kernel.org/pub/linux/kernel/v2.6/longterm/v%{kernel_ver}/linux-%{version}.tar.bz2
#%endif
Source7: %{name}-rt-i586-config
Source8: %{name}-%{kernel_majver}-mamba-ppc-config
#Source8: %{name}-%{kernel_majver}-mamba-ppc-config
Source9: %{name}-custom-i586-config
Source11: %{name}-%{kernel_majver}-mamba-i586-config
Source11: %{name}-%{kernel_majver}-mamba-config
Source12: %{name}-%{kernel_majver}-mamba-x86_64-config
Source13: %{name}-%{kernel_majver}-mamba-64GB-i586-config
Source14: %{name}-%{kernel_majver}-mamba-xen-x86_64-config
Source13: %{name}-%{kernel_majver}-mamba-64GB-config
#Source14: %{name}-%{kernel_majver}-mamba-xen-x86_64-config
Source15: %{name}-%{kernel_majver}-mamba-arm-config
Source16: %{name}-%{kernel_majver}-mamba-64GB-rt-i586-config
Source17: %{name}-%{kernel_majver}-mamba-rt-i586-config
Source18: %{name}-%{kernel_majver}-mamba-arm-kirkwood-config
Source19: %{name}-%{kernel_majver}-mamba-x86_64-rt-config
#Source16: %{name}-%{kernel_majver}-mamba-64GB-rt-i586-config
#Source17: %{name}-%{kernel_majver}-mamba-rt-i586-config
#Source18: %{name}-%{kernel_majver}-mamba-arm-kirkwood-config
#Source19: %{name}-%{kernel_majver}-mamba-x86_64-rt-config
Source20: %{name}-%{kernel_majver}-mamba-arm-dove-config
Patch0: kernel-2.6.35-430-scsi_header_fix.patch
# Ingo Molnar's RT patch
@ -206,24 +206,16 @@ Requires: kernelwireless-%{KERNEL_TARGET}-%{kernel_ver}
Requires: kernelsound-%{KERNEL_TARGET}-%{kernel_ver}
Requires: linux-firmware
Provides: kernel = %{version}
## KERNELOBSOLETES-BEGIN 3.14
## KERNELOBSOLETES-BEGIN 3.18
Obsoletes: kernel-%{KERNEL_TARGET} < 3.10
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.2
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.3
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.4
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.5
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.7
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.10
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.11
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.19
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.23
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.24
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.25
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.26
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.27
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.30
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.37
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.41
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.43
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.14
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.20
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.21-1mamba
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.21-2mamba
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.21-3mamba
## KERNELOBSOLETES-END
%description %{KERNEL_TARGET}
@ -238,24 +230,16 @@ Summary: The source code for the Linux kernel
Requires: kernel-%{KERNEL_TARGET}-headers == %{version}-%{release}
Provides: kernelsource = %{version}
Obsoletes: kernel-alsa-devel
## KERNELOBSOLETES-BEGIN 3.14
## KERNELOBSOLETES-BEGIN 3.18
Obsoletes: kernel-%{KERNEL_TARGET}-source < 3.10
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.2
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.3
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.4
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.5
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.7
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.10
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.11
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.19
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.23
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.24
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.25
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.26
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.27
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.30
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.37
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.41
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.43
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.14
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.20
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.21-1mamba
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.21-2mamba
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.21-3mamba
## KERNELOBSOLETES-END
%description %{KERNEL_TARGET}-source
@ -267,24 +251,16 @@ This kernel sources are configured for %{TARGET_CPU} architecture and the follow
Group: Development/Kernel
Summary: Headers, scripts, configuration and Makefile for the linux kernel
Provides: kernelheaders = %{version}
## KERNELOBSOLETES-BEGIN 3.14
## KERNELOBSOLETES-BEGIN 3.18
Obsoletes: kernel-%{KERNEL_TARGET}-headers < 3.10
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.2
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.3
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.4
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.5
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.7
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.10
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.11
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.19
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.23
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.24
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.25
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.26
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.27
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.30
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.37
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.41
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.43
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.14
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.20
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.21-1mamba
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.21-2mamba
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.21-3mamba
## KERNELOBSOLETES-END
%description %{KERNEL_TARGET}-headers
@ -296,24 +272,16 @@ This kernel headers are configured for %{TARGET_CPU} architecture and the follow
Group: Development/Kernel
Summary: Sanitised kernel headers used for glibc build
Provides: kernelsanitisedheaders = %{version}
## KERNELOBSOLETES-BEGIN 3.14
## KERNELOBSOLETES-BEGIN 3.18
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised < 3.10
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.2
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.3
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.4
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.5
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.7
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.10
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.11
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.19
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.23
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.24
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.25
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.26
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.27
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.30
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.37
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.41
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.43
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.14
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.20
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.21-1mamba
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.21-2mamba
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.21-3mamba
## KERNELOBSOLETES-END
%description %{KERNEL_TARGET}-headers-sanitised
@ -326,24 +294,16 @@ Summary: The kernel sound subsystem
Provides: kernelsound = %{version}
Provides: kernelsound-%{KERNEL_TARGET}-%{kernel_ver}
Requires: kernel-%{KERNEL_TARGET} == %{version}-%{release}
## KERNELOBSOLETES-BEGIN 3.14
## KERNELOBSOLETES-BEGIN 3.18
Obsoletes: kernel-%{KERNEL_TARGET}-sound < 3.10
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.2
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.3
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.4
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.5
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.7
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.10
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.11
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.19
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.23
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.24
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.25
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.26
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.27
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.30
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.37
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.41
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.43
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.14
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.20
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.21-1mamba
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.21-2mamba
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.21-3mamba
## KERNELOBSOLETES-END
%description %{KERNEL_TARGET}-sound
@ -357,24 +317,16 @@ Provides: kernelwireless = %{version}
Provides: kernelwireless-%{KERNEL_TARGET}-%{kernel_ver}
Requires: kernel-%{KERNEL_TARGET} == %{version}-%{release}
Requires: iwlwifi-firmware
## KERNELOBSOLETES-BEGIN 3.14
## KERNELOBSOLETES-BEGIN 3.18
Obsoletes: kernel-%{KERNEL_TARGET}-wireless < 3.10
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.2
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.3
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.4
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.5
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.7
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.10
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.11
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.19
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.23
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.24
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.25
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.26
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.27
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.30
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.37
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.41
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.43
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.14
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.20
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.21-1mamba
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.21-2mamba
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.21-3mamba
## KERNELOBSOLETES-END
Requires: crda
@ -387,24 +339,16 @@ Group: System/Kernel and Hardware
Summary: Firmware files used by the Linux Kernel
Provides: kernelfirmware = %{version}
Requires: kernel-%{KERNEL_TARGET} == %{version}-%{release}
## KERNELOBSOLETES-BEGIN 3.14
## KERNELOBSOLETES-BEGIN 3.18
Obsoletes: kernel-%{KERNEL_TARGET}-firmware < 3.10
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.2
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.3
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.4
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.5
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.7
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.10
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.11
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.19
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.23
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.24
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.25
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.26
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.27
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.30
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.37
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.41
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.43
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.14
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.20
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.21-1mamba
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.21-2mamba
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.21-3mamba
## KERNELOBSOLETES-END
Provides: linux_firmware
@ -524,7 +468,7 @@ make mrproper
cp $kernel_cfg ./.config
# 8139cp patch
%patch11 -p1
#%patch11 -p1
# usbstorage disable delay_use patch (disabled since kernel 2.6.35 because patched from 5 to 1 sec instead of 5 to 0)
%patch24 -p1
# FIXME: this patch disable GPL check on __rcu_read_lock and __rcu_read_unlock
@ -549,7 +493,7 @@ cp $kernel_cfg ./.config
#%patch75 -p1
# overlayfs patches
%patch100 -p1
#%patch100 -p1
#% patch101 -p1
#% patch102 -p1
#% patch103 -p1
@ -574,7 +518,7 @@ if [ "%{?KERNEL_TARGET}" = "mamba-arm-dove" ]; then
# See www.solid-run.com/mw/index.php?title=Device_Tree
ARCH=%{target_cpu} make CROSS_COMPILE=%{_target_platform}- %{?_smp_mflags} %{?DISTCC} uImage
cp arch/arm/boot/zImage arch/arm/boot/zImage.orig
ARCH=%{target_cpu} make CROSS_COMPILE=%{_target_platform}- %{?_smp_mflags} %{?DISTCC} dtbs
ARCH=%{target_cpu} make CROSS_COMPILE=%{_target_platform}- %{?_smp_mflags} %{?DISTCC} dove-cubox.dtb
cat arch/arm/boot/zImage.orig arch/arm/boot/dts/dove-cubox.dtb > arch/arm/boot/zImage
ARCH=%{target_cpu} make CROSS_COMPILE=%{_target_platform}- %{?_smp_mflags} %{?DISTCC} uImage
fi
@ -875,12 +819,29 @@ fi
exit 0
%posttrans %{?KERNEL_TARGET}
# clean our orphan old initramfs
ls /boot/initramfs-*-failsafe.img | \
while read line; do
k=${line/\/boot\/initramfs-}
k=${k/-failsafe.img}
[ -e /boot/vmlinuz-$k ] || \
rm -f /boot/initramfs-$k.img /boot/initramfs-$k-failsafe.img
done
# clean old and empty /usr/src/linux-* directories
for f in /usr/src/linux-*; do
if [ ! -L $f ]; then
a=`find $f -type f -a -not -name MARKER -print -quit | wc -l`
if [ $a -eq 0 -a "$f" != "/" ]; then
rm -rf $f
fi
fi
done
# new install or upgrade
/sbin/depmod -a -F /boot/System.map-%{kernel_ver}%{?KERNEL_TARGET} \
%{kernel_ver}%{?KERNEL_TARGET} &>/dev/null
# create local system initramfs
/usr/sbin/mkinitrd -f /boot/initramfs-%{kernel_ver}%{?KERNEL_TARGET}.img %{kernel_ver}%{?KERNEL_TARGET}
# create system-wide "failsafe" initramfs
@ -917,6 +878,7 @@ exit 0
if [ $1 -ge 1 ]; then
touch %{_prefix}/src/linux-%{kernel_ver}%{?KERNEL_TARGET}/include/config/MARKER
[ -x /usr/sbin/dkms ] && dkms autoinstall -q --kernelver %{kernel_ver}%{?KERNEL_TARGET} || true
ln -snf %{_prefix}/src/linux-%{kernel_ver}%{?KERNEL_TARGET} %{_prefix}/src/linux-%{?KERNEL_TARGET}
fi
exit 0
@ -948,6 +910,12 @@ exit 0
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/*
%dir /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/fs
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/fs/*
%dir /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/kernel
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/kernel/*.ko
%dir /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/kernel/locking
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/kernel/locking/*.ko
%dir /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/kernel/time
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/kernel/time/*.ko
%dir /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/lib
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/lib/*
%dir /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/net
@ -965,6 +933,7 @@ exit 0
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/usb/usbnet.ko
%ifnarch arm
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/adm8211.ko
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas/libertas_cs.ko
%endif
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/at76_usb.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/ath5k/ath5k.ko
@ -975,7 +944,6 @@ exit 0
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/iwlwifi/iwlagn.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/iwlwifi/iwlcore.ko
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas/libertas.ko
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas/libertas_cs.ko
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas/libertas_sdio.ko
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas_tf/libertas_tf.ko
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas_tf/libertas_tf_usb.ko
@ -1015,6 +983,7 @@ exit 0
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/usb/usbnet.ko
%ifnarch arm
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/adm8211.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas/libertas_cs.ko
%endif
#/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/at76_usb.ko
#/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/ath5k/ath5k.ko
@ -1025,7 +994,6 @@ exit 0
#/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/iwlwifi/iwlagn.ko
#/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/iwlwifi/iwlcore.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas/libertas.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas/libertas_cs.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas/libertas_sdio.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas_tf/libertas_tf.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas_tf/libertas_tf_usb.ko
@ -1086,6 +1054,7 @@ exit 0
/usr/src/linux-%{kernel_ver}%{?KERNEL_TARGET}/CREDITS
/usr/src/linux-%{kernel_ver}%{?KERNEL_TARGET}/Kbuild
/usr/src/linux-%{kernel_ver}%{?KERNEL_TARGET}/Kconfig
/usr/src/linux-%{kernel_ver}%{?KERNEL_TARGET}/drivers
/usr/src/linux-%{kernel_ver}%{?KERNEL_TARGET}/include
/usr/src/linux-%{kernel_ver}%{?KERNEL_TARGET}/init
/usr/src/linux-%{kernel_ver}%{?KERNEL_TARGET}/Makefile
@ -1103,18 +1072,34 @@ exit 0
/lib/firmware/*
%changelog
* Sun Jul 12 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.14.48-1mamba
- update to 3.14.48
* Fri Sep 25 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.18.21-4mamba
- unset CONFIG_COMPAT_VDSO to fix chromium crashes on x86
* Thu May 21 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.14.43-1mamba
- update to 3.14.43
- set CONFIG_PID_NS for chromium sandbox to work and maybe other things
* Sun Sep 20 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.18.21-3mamba
- fix obsoletes for autoupdate
* Tue May 12 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.14.41-1mamba
- update to 3.14.41
* Sat Sep 19 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.18.21-2mamba
- set CONFIG_DEVPTS_MULTIPLE_INSTANCES=y to fix recent problems with systemd-logind
* Wed Apr 01 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.14.37-1mamba
- update to 3.14.37
* Fri Sep 04 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.18.21-1mamba
- update to 3.18.21
- posttrans: delete our old orphan initramfs from /boot
* Mon Aug 17 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.18.20-1mamba
- update to 3.18.20
* Thu May 21 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.18.14-1mamba
- update to 3.18.14
- set CONFIG_PID_NS=y
* Wed Apr 15 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.18.11-1mamba
- update to 3.18.11
* Thu Mar 26 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.18.10-1mamba
- update to 3.18.10
* Sun Feb 22 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.18.7-1mamba
- update to 3.18.7
* Thu Jan 29 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.14.30-1mamba
- update to 3.14.30