summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2012-07-05 11:08:59 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-06 09:38:17 +0100
commit8f16811a8d51982a8b3d70e6087aef4a41926840 (patch)
tree361f16666a392430a1b9d2725647d980f57d1345 /meta/classes
parentdcc43c34bfa9304233ecfd3f518a84ddfdc2fd90 (diff)
downloadopenembedded-core-8f16811a8d51982a8b3d70e6087aef4a41926840.tar.gz
openembedded-core-8f16811a8d51982a8b3d70e6087aef4a41926840.tar.bz2
openembedded-core-8f16811a8d51982a8b3d70e6087aef4a41926840.zip
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@linux.intel.com> Tested-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/bootimg.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass
index 370b3786f2..a4c0e8d931 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