Skip to contentSkip to conversation

kernel-uboot.bbclass: fix image format for root-located vmlinux

PATCH New Angelo Dureghello 1 participant 1 message Oct 3, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel-uboot.bbclass: fix image format for root-located vmlinux

In case vmlinux is located in the Linux source root, it must still be considered as _not_ compressed.

---
 meta/classes/kernel-uboot.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/classes/kernel-uboot.bbclass +2 -2
index 2364053f31..dd5f8a7b65 100644
@@ -15,8 +15,8 @@ uboot_prep_kimage() {
 		linux_comp="none"
 	else
 		vmlinux_path="vmlinux"
-		linux_suffix=".gz"
-		linux_comp="gzip"
+		linux_suffix=""
+		linux_comp="none"
 	fi
 
 	[ -n "${vmlinux_path}" ] && ${OBJCOPY} -O binary -R .note -R .comment -S "${vmlinux_path}" linux.bin
Signature · 1 line
2.11.0