[oe-commits] Tomas Frydrych : image_types: fix default location of kernel when generating elf images

git at git.openembedded.org git at git.openembedded.org
Wed May 22 16:08:54 UTC 2013


Module: openembedded-core.git
Branch: dylan
Commit: 54a7691a3efce3d7a154233345b5f6b161fd71bf
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=54a7691a3efce3d7a154233345b5f6b161fd71bf

Author: Tomas Frydrych <tomas at sleepfive.com>
Date:   Fri May  3 13:18:11 2013 +0100

image_types: fix default location of kernel when generating elf images

Generation of elf images fails because kernel images are no longer staged under
${STAGING_DIR_HOST}/kernel, but rather ${STAGING_DIR_HOST}/usr/src/kernel. This
patch fixes the path to point to the correct location.

(From OE-Core master rev: 6e57a3231fb29f869d476b8511d6f4393f82651b)

Signed-off-by: Tomas Frydrych <tomas at sleepfive.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/image_types.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index 98d31f5..94837ae 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -185,7 +185,7 @@ IMAGE_CMD_cpio () {
 	cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio)
 }
 
-ELF_KERNEL ?= "${STAGING_DIR_HOST}/kernel/${KERNEL_IMAGETYPE}"
+ELF_KERNEL ?= "${STAGING_DIR_HOST}/usr/src/kernel/${KERNEL_IMAGETYPE}"
 ELF_APPEND ?= "ramdisk_size=32768 root=/dev/ram0 rw console="
 
 IMAGE_CMD_elf () {



More information about the Openembedded-commits mailing list