bump rel_ver and improve %preun
This commit is contained in:
parent
f738bddb5b
commit
815c9a07d8
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user