fix symlinking

This commit is contained in:
Pratham Patel 2023-10-08 15:50:17 +05:30
parent a563337e18
commit 42e889cbfe
No known key found for this signature in database
7 changed files with 14 additions and 8 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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