From bce73d1dc75e82e480d29e6fc80ecc5311924c74 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 2 Jun 2016 18:08:38 +0200 Subject: [PATCH] image-rauc-ubi: Deal with different kernel types I might end up using a zImage and then it should be used. Use the variable exported by the ${MACHINE}.conf to work with it. --- recipes-core/images/image-rauc-ubi.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-core/images/image-rauc-ubi.bb b/recipes-core/images/image-rauc-ubi.bb index b369e2c..ab49545 100644 --- a/recipes-core/images/image-rauc-ubi.bb +++ b/recipes-core/images/image-rauc-ubi.bb @@ -29,7 +29,7 @@ S = "${WORKDIR}" do_fetch() { mkdir -p "${S}/fs" - cp "${DEPLOY_DIR_IMAGE}/uImage-${MACHINE}.bin" "${S}/fs/kernel" + cp "${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin" "${S}/fs/kernel" cp "${DEPLOY_DIR_IMAGE}/image-rauc-rescue-initramfs-${MACHINE}.cpio.xz" "${S}/fs/initramfs" }