Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] bootimg: Use STAGING_KERNEL_DIR
@ 2012-07-05 18:08 Darren Hart
  2012-07-05 20:06 ` Tom Zanussi
  2012-07-06  5:24 ` Kamble, Nitin A
  0 siblings, 2 replies; 5+ messages in thread
From: Darren Hart @ 2012-07-05 18:08 UTC (permalink / raw)
  To: openembedded-core; +Cc: Darren Hart, saul.wold

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.

UNTESTED - PLEASE TEST PRIOR TO PULL.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: tom.zanussi@intel.com
CC: saul.wold@intel.com
CC: nitin.a.kamble@intel.com
---
 meta/classes/bootimg.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
1.7.10.4




^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-07-06  8:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-05 18:08 [PATCH] bootimg: Use STAGING_KERNEL_DIR Darren Hart
2012-07-05 20:06 ` Tom Zanussi
2012-07-05 21:29   ` Darren Hart
2012-07-06  8:39     ` Richard Purdie
2012-07-06  5:24 ` Kamble, Nitin A

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox