bump rel_ver and improve %preun

This commit is contained in:
Pratham Patel 2023-10-09 05:30:32 +05:30
parent f738bddb5b
commit 815c9a07d8
No known key found for this signature in database
7 changed files with 10 additions and 6 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -181,6 +181,10 @@ ln -s vmlinuz-%{KVERREL} vmlinuz
popd
%preun
rm -vf /boot/.uname /boot/.uname-%{KVERREL}
rm -vf /boot/initramfs.img
rm -vf /boot/System.map
rm -vf /boot/vmlinuz
if [ -x /sbin/new-kernel-pkg ]; then
new-kernel-pkg --remove %{KVERREL} --rminitrd --initrdfile=/boot/initramfs-%{KVERREL}.img
elif [ -x /usr/bin/kernel-install ]; then