fix symlinking
This commit is contained in:
parent
a563337e18
commit
42e889cbfe
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
10
master.inc
10
master.inc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user