[oe-commits] Darren Hart : bootimg: Use STAGING_KERNEL_DIR

git at git.openembedded.org git at git.openembedded.org
Fri Jul 6 08:40:54 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 8f16811a8d51982a8b3d70e6087aef4a41926840
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=8f16811a8d51982a8b3d70e6087aef4a41926840

Author: Darren Hart <dvhart at linux.intel.com>
Date:   Thu Jul  5 11:08:59 2012 -0700

bootimg: Use STAGING_KERNEL_DIR

bootimg.bbclass using STAGING_DIR_HOST/kernel instead of
STAGING_KERNEL_DIR, resulting in build failure of live images.

| install: cannot stat `/usr/local/dev/yocto/fishriver-test/build/tmp/sysroots/fishriver/kernel/bzImage': No such file or directory

Replace it with STAGING_KERNEL_DIR.

Signed-off-by: Darren Hart <dvhart at linux.intel.com>
Tested-by: Tom Zanussi <tom.zanussi at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

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

diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass
index 370b378..a4c0e8d 100644
--- a/meta/classes/bootimg.bbclass
+++ b/meta/classes/bootimg.bbclass
@@ -63,7 +63,7 @@ populate() {
 	install -d ${DEST}
 
 	# Install bzImage, initrd, and rootfs.img in DEST for all loaders to use.
-	install -m 0644 ${STAGING_DIR_HOST}/kernel/bzImage ${DEST}/vmlinuz
+	install -m 0644 ${STAGING_KERNEL_DIR}/bzImage ${DEST}/vmlinuz
 
 	if [ -n "${INITRD}" ] && [ -s "${INITRD}" ]; then
 		install -m 0644 ${INITRD} ${DEST}/initrd





More information about the Openembedded-commits mailing list