Skip to contentSkip to conversation

kernel.bbclass: Make symbol to vmlinuz.bin in boot directory

PATCH New Andrea Adami 1 participant 1 message Jan 25, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel.bbclass: Make symbol to vmlinuz.bin in boot directory

The changes committed with 6e58f54be103814b6b8a85b236510633c49e6832 did only consider the vmlinuz ELF kernel but some devices do reqire a raw vmlinuz.bin (as for example gcw0 in meta-handheld booted by ubiboot).
Expand the above mentioned patch to consider this case.

---
 meta/classes/kernel.bbclass | 3 +++
 1 file changed, 3 insertions(+)
meta/classes/kernel.bbclass +3 -0
index f462b2f..97cba92 100644
@@ -528,6 +528,9 @@ do_kernel_link_images() {
 	if [ -f ../../../vmlinuz ]; then
 		ln -sf ../../../vmlinuz
 	fi
+	if [ -f ../../../vmlinuz.bin ]; then
+		ln -sf ../../../vmlinuz.bin
+	fi
 }
 
 do_strip() {
Signature · 1 line
2.7.4