diff options
author | Darren Hart <dvhart@linux.intel.com> | 2012-07-05 11:08:59 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-28 16:51:35 +0100 |
commit | 032bd9a856f9ca0b43dff272bd4f95481aa46597 (patch) | |
tree | def9f781d1659bf4a3e3cbb9098b34dff492092d | |
parent | f28dcaf565050d5c857c3d09164104410a2e4173 (diff) | |
download | openembedded-core-032bd9a856f9ca0b43dff272bd4f95481aa46597.tar.gz |
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.
(From OE-Core rev: 8f16811a8d51982a8b3d70e6087aef4a41926840)
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>
-rw-r--r-- | 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 f4981d8e37..d4e2a571d5 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 |