summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorAndrej Valek <andrej.valek@siemens.com>2021-10-16 22:01:47 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-17 21:54:42 +0100
commit27fbbeaf972bb7e2535c1b23375cfa9d66b69db6 (patch)
tree3f97b6eb6d05f9cdc1a168af62df79cdbbfc7005 /meta/classes
parentf44bb458884da64356ee188917094b5515d3b159 (diff)
downloadopenembedded-core-27fbbeaf972bb7e2535c1b23375cfa9d66b69db6.tar.gz
kernel-fitimage: use correct kernel image
Even if initramfs_bundle_path was used, a wrong compression was reflected in output its template file. Use linux.bin as universal kernel image. The linux.bin file covers both cases because it's beying created from vmlinux. We know, that vmlinux is created inside compressed directory already, so no external compression will be used. Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Walter Schweizer <walter.schweizer@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/kernel-fitimage.bbclass17
1 files changed, 1 insertions, 16 deletions
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
index 886ed13029..8718ce7e16 100644
--- a/meta/classes/kernel-fitimage.bbclass
+++ b/meta/classes/kernel-fitimage.bbclass
@@ -495,22 +495,7 @@ fitimage_assemble() {
fitimage_emit_section_maint $1 imagestart
uboot_prep_kimage
-
- if [ "${INITRAMFS_IMAGE_BUNDLE}" = "1" ]; then
- initramfs_bundle_path="arch/"${UBOOT_ARCH}"/boot/"${KERNEL_IMAGETYPE_REPLACEMENT}".initramfs"
- if [ -e "$initramfs_bundle_path" ]; then
-
- #
- # Include the kernel/rootfs bundle.
- #
-
- fitimage_emit_section_kernel $1 $kernelcount "$initramfs_bundle_path" "$linux_comp"
- else
- bbwarn "$initramfs_bundle_pat not found."
- fi
- else
- fitimage_emit_section_kernel $1 $kernelcount linux.bin "$linux_comp"
- fi
+ fitimage_emit_section_kernel $1 $kernelcount linux.bin "$linux_comp"
#
# Step 2: Prepare a DTB image section