link initramfs too

This commit is contained in:
Pratham Patel 2023-10-08 13:33:14 +05:30
parent 8f4f624ce1
commit a563337e18
No known key found for this signature in database
7 changed files with 7 additions and 6 deletions

View File

@ -1,5 +1,5 @@
# change version here # change version here
%global rel_ver 3 %global rel_ver 4
%global major_ver 6 %global major_ver 6
%global minor_ver 1 %global minor_ver 1
%global patch_ver 56 %global patch_ver 56

View File

@ -1,5 +1,5 @@
# change version here # change version here
%global rel_ver 3 %global rel_ver 4
%global next_snapshot_date 20231006 %global next_snapshot_date 20231006
%global target_config defconfig %global target_config defconfig
%global kname next %global kname next

View File

@ -1,5 +1,5 @@
# change version here # change version here
%global rel_ver 3 %global rel_ver 4
%global patch_ver 0 %global patch_ver 0
%global major_ver 6 %global major_ver 6
%global minor_ver 6 %global minor_ver 6

View File

@ -1,5 +1,5 @@
# change version here # change version here
%global rel_ver 8 %global rel_ver 9
%global major_ver 6 %global major_ver 6
%global minor_ver 6 %global minor_ver 6
%global rc_ver 4 %global rc_ver 4

View File

@ -1,5 +1,5 @@
# change version here # change version here
%global rel_ver 3 %global rel_ver 4
%global major_ver 6 %global major_ver 6
%global minor_ver 5 %global minor_ver 5
%global patch_ver 6 %global patch_ver 6

View File

@ -1,5 +1,5 @@
# change version here # change version here
%global rel_ver 4 %global rel_ver 5
%global major_ver 5 %global major_ver 5
%global minor_ver 10 %global minor_ver 10
%global patch_ver 160 %global patch_ver 160

View File

@ -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 /sbin/installkernel %{KVERREL} /boot/.vmlinuz-%{KVERREL}-rpm /boot/.System.map-%{KVERREL}-rpm
rm -f /boot/.vmlinuz-%{KVERREL}-rpm /boot/.System.map-%{KVERREL}-rpm rm -f /boot/.vmlinuz-%{KVERREL}-rpm /boot/.System.map-%{KVERREL}-rpm
fi fi
ln /boot/initramfs-%{KVERREL}.img /boot/initramfs.img
ln /boot/.uname-%{KVERREL} /boot/.uname ln /boot/.uname-%{KVERREL} /boot/.uname
%preun %preun