diff --git a/kernel-lts-tfg.spec b/kernel-lts-tfg.spec index 58cab0c..62fbfbe 100644 --- a/kernel-lts-tfg.spec +++ b/kernel-lts-tfg.spec @@ -1,5 +1,5 @@ # change version here -%global rel_ver 4 +%global rel_ver 5 %global major_ver 6 %global minor_ver 1 %global patch_ver 56 diff --git a/kernel-next-tfg.spec b/kernel-next-tfg.spec index 7b60132..6e1e798 100644 --- a/kernel-next-tfg.spec +++ b/kernel-next-tfg.spec @@ -1,5 +1,5 @@ # change version here -%global rel_ver 4 +%global rel_ver 5 %global next_snapshot_date 20231006 %global target_config defconfig %global kname next diff --git a/kernel-opi5-tfg.spec b/kernel-opi5-tfg.spec index 8be6cc1..3afcc9c 100644 --- a/kernel-opi5-tfg.spec +++ b/kernel-opi5-tfg.spec @@ -1,5 +1,5 @@ # change version here -%global rel_ver 4 +%global rel_ver 5 %global patch_ver 0 %global major_ver 6 %global minor_ver 6 diff --git a/kernel-rc-tfg.spec b/kernel-rc-tfg.spec index e731549..bed5fc6 100644 --- a/kernel-rc-tfg.spec +++ b/kernel-rc-tfg.spec @@ -1,5 +1,5 @@ # change version here -%global rel_ver 9 +%global rel_ver 10 %global major_ver 6 %global minor_ver 6 %global rc_ver 4 diff --git a/kernel-stable-tfg.spec b/kernel-stable-tfg.spec index 40c90a7..cae71a5 100644 --- a/kernel-stable-tfg.spec +++ b/kernel-stable-tfg.spec @@ -1,5 +1,5 @@ # change version here -%global rel_ver 4 +%global rel_ver 5 %global major_ver 6 %global minor_ver 5 %global patch_ver 6 diff --git a/kernel-vendor-opi5-tfg.spec b/kernel-vendor-opi5-tfg.spec index 9909a50..e79e6ed 100644 --- a/kernel-vendor-opi5-tfg.spec +++ b/kernel-vendor-opi5-tfg.spec @@ -1,5 +1,5 @@ # change version here -%global rel_ver 5 +%global rel_ver 6 %global major_ver 5 %global minor_ver 10 %global patch_ver 160 diff --git a/master.inc b/master.inc index f9d6cf3..540d4d2 100644 --- a/master.inc +++ b/master.inc @@ -176,8 +176,14 @@ if [ -x /sbin/installkernel -a -r /boot/vmlinuz-%{KVERREL} -a -r /boot/System.ma /sbin/installkernel %{KVERREL} /boot/.vmlinuz-%{KVERREL}-rpm /boot/.System.map-%{KVERREL}-rpm rm -f /boot/.vmlinuz-%{KVERREL}-rpm /boot/.System.map-%{KVERREL}-rpm fi -ln /boot/initramfs-%{KVERREL}.img /boot/initramfs.img -ln /boot/.uname-%{KVERREL} /boot/.uname + +pushd /boot +rm System.map vmlinuz +ln .uname-%{KVERREL} .uname +ln initramfs-%{KVERREL}.img initramfs.img +ln System.map-%{KVERREL} System.map +ln vmlinuz-%{KVERREL} vmlinuz +popd %preun if [ -x /sbin/new-kernel-pkg ]; then