Compare commits
2 Commits
bae4cb3ee1
...
8109776be2
Author | SHA1 | Date |
---|---|---|
Pratham Patel | 8109776be2 | |
Pratham Patel | 6ee5d31442 |
|
@ -1,5 +1,5 @@
|
|||
# change version here
|
||||
%global rel_ver 1
|
||||
%global rel_ver 2
|
||||
%global major_ver 6
|
||||
%global minor_ver 1
|
||||
%global patch_ver 57
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# change version here
|
||||
%global rel_ver 1
|
||||
%global rel_ver 2
|
||||
%global major_ver 6
|
||||
%global minor_ver 6
|
||||
%global patch_ver 0
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# change version here
|
||||
%global rel_ver 1
|
||||
%global rel_ver 2
|
||||
%global major_ver 6
|
||||
%global minor_ver 6
|
||||
%global rc_ver 5
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# change version here
|
||||
%global rel_ver 1
|
||||
%global rel_ver 2
|
||||
%global major_ver 6
|
||||
%global minor_ver 5
|
||||
%global patch_ver 7
|
||||
|
|
|
@ -118,7 +118,6 @@ mkdir -p %{buildroot}
|
|||
mkdir -p %{buildroot}/boot
|
||||
cp $(%{make} -s image_name) %{buildroot}/boot/vmlinuz-%{KVERREL}
|
||||
chmod 755 %{buildroot}/boot/vmlinuz-%{KVERREL}
|
||||
echo "%{KVERREL}" > %{buildroot}/boot/.uname-%{KVERREL}
|
||||
|
||||
# install DTBs
|
||||
%ifarch aarch64 || riscv64
|
||||
|
@ -174,8 +173,7 @@ fi
|
|||
# and not
|
||||
# vmlinuz -> /boot/vmlinuz-6.6.0-20231004.6.el9.aarch64
|
||||
pushd /boot
|
||||
rm -vf .uname dtb initramfs.img System.map vmlinuz
|
||||
ln -s .uname-%{KVERREL} .uname
|
||||
rm -rvf dtb initramfs.img System.map vmlinuz
|
||||
ln -s dtb-%{KVERREL} dtb
|
||||
ln -s initramfs-%{KVERREL}.img initramfs.img
|
||||
ln -s System.map-%{KVERREL} System.map
|
||||
|
@ -184,7 +182,6 @@ popd
|
|||
|
||||
%preun
|
||||
# remove symlinks
|
||||
rm -vf /boot/.uname /boot/.uname-%{KVERREL}
|
||||
rm -vf /boot/initramfs.img
|
||||
rm -vf /boot/System.map
|
||||
rm -vf /boot/vmlinuz
|
||||
|
@ -216,5 +213,4 @@ fi
|
|||
%exclude /lib/modules/%{KVERREL}/build
|
||||
%exclude /lib/modules/%{KVERREL}/source
|
||||
/lib/modules/%{KVERREL}
|
||||
/boot/.uname-%{KVERREL}
|
||||
/boot/*
|
||||
|
|
Loading…
Reference in New Issue