* [PATCH] bootimg: Use deploy artefacts, not STAGING_KERNEL_DIR
@ 2014-12-19 17:46 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2014-12-19 17:46 UTC (permalink / raw)
To: openembedded-core
bzImage is no longer in STAGING_KERNEL_DIR. Rather than add it back,
depend on the kernel deploy task and find it in DEPLOY_DIR_IMAGE.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass
index 8a305af..003816b 100644
--- a/meta/classes/bootimg.bbclass
+++ b/meta/classes/bootimg.bbclass
@@ -30,6 +30,7 @@ NONGLOBALBBCLASS += "bootimg"
do_bootimg[depends] += "dosfstools-native:do_populate_sysroot \
mtools-native:do_populate_sysroot \
cdrtools-native:do_populate_sysroot \
+ virtual/kernel:do_deploy \
${@oe.utils.ifelse(d.getVar('COMPRESSISO'),'zisofs-tools-native:do_populate_sysroot','')}"
PACKAGES = " "
@@ -68,7 +69,7 @@ populate() {
install -d ${DEST}
# Install bzImage, initrd, and rootfs.img in DEST for all loaders to use.
- install -m 0644 ${STAGING_KERNEL_DIR}/bzImage ${DEST}/vmlinuz
+ install -m 0644 ${DEPLOY_DIR_IMAGE}/bzImage ${DEST}/vmlinuz
# initrd is made of concatenation of multiple filesystem images
if [ -n "${INITRD}" ]; then
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-12-19 17:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-19 17:46 [PATCH] bootimg: Use deploy artefacts, not STAGING_KERNEL_DIR Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox