From a563337e180cba44bbb584bcfc99213e9cb1ad6f Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Sun, 8 Oct 2023 13:33:14 +0530 Subject: [PATCH] link initramfs too --- kernel-lts-tfg.spec | 2 +- kernel-next-tfg.spec | 2 +- kernel-opi5-tfg.spec | 2 +- kernel-rc-tfg.spec | 2 +- kernel-stable-tfg.spec | 2 +- kernel-vendor-opi5-tfg.spec | 2 +- master.inc | 1 + 7 files changed, 7 insertions(+), 6 deletions(-) diff --git a/kernel-lts-tfg.spec b/kernel-lts-tfg.spec index 452c4bf..58cab0c 100644 --- a/kernel-lts-tfg.spec +++ b/kernel-lts-tfg.spec @@ -1,5 +1,5 @@ # change version here -%global rel_ver 3 +%global rel_ver 4 %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 53f2c2f..7b60132 100644 --- a/kernel-next-tfg.spec +++ b/kernel-next-tfg.spec @@ -1,5 +1,5 @@ # change version here -%global rel_ver 3 +%global rel_ver 4 %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 a7e4edf..8be6cc1 100644 --- a/kernel-opi5-tfg.spec +++ b/kernel-opi5-tfg.spec @@ -1,5 +1,5 @@ # change version here -%global rel_ver 3 +%global rel_ver 4 %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 3bb38c8..e731549 100644 --- a/kernel-rc-tfg.spec +++ b/kernel-rc-tfg.spec @@ -1,5 +1,5 @@ # change version here -%global rel_ver 8 +%global rel_ver 9 %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 8bb8e2e..40c90a7 100644 --- a/kernel-stable-tfg.spec +++ b/kernel-stable-tfg.spec @@ -1,5 +1,5 @@ # change version here -%global rel_ver 3 +%global rel_ver 4 %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 4be8eb8..9909a50 100644 --- a/kernel-vendor-opi5-tfg.spec +++ b/kernel-vendor-opi5-tfg.spec @@ -1,5 +1,5 @@ # change version here -%global rel_ver 4 +%global rel_ver 5 %global major_ver 5 %global minor_ver 10 %global patch_ver 160 diff --git a/master.inc b/master.inc index 3e286ba..f9d6cf3 100644 --- a/master.inc +++ b/master.inc @@ -176,6 +176,7 @@ 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 %preun