[packages/kernel] maintain symbolic link to latest device tree blobs

atler atler at pld-linux.org
Wed Sep 15 01:01:35 CEST 2021


commit a0656eda66ca8c1e13c23450c4c672eab136e3d3
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Sep 15 00:58:17 2021 +0200

    maintain symbolic link to latest device tree blobs

 kernel.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/kernel.spec b/kernel.spec
index aedeb69b..42c5c7cd 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -1118,6 +1118,10 @@ if [[ "$CREATE_SYMLINKS" != [Nn][Oo] ]]; then
 	mv -f /boot/System.map{,.old} 2> /dev/null
 	ln -sf vmlinuz-%{kernel_release} /boot/vmlinuz
 	ln -sf System.map-%{kernel_release} /boot/System.map
+%ifarch %{arm} aarch64
+	mv -f /boot/dtb{,.old} 2> /dev/null
+	ln -sf dtb-%{kernel_release} /boot/dtb
+%endif
 %if 0%{?alt_kernel:1}
 	mv -f /boot/vmlinuz%{_alt_kernel}{,.old} 2> /dev/null
 	mv -f /boot/System%{_alt_kernel}.map{,.old} 2> /dev/null
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/a0656eda66ca8c1e13c23450c4c672eab136e3d3



More information about the pld-cvs-commit mailing list