]> code.ossystems Code Review - openembedded-core.git/commitdiff
boot-directdisk: Fix kernel location after STAGING_KERNEL_DIR change
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 18 Jul 2012 21:48:58 +0000 (22:48 +0100)
committerScott Garman <scott.a.garman@intel.com>
Sun, 23 Dec 2012 23:05:04 +0000 (15:05 -0800)
This catches up with the STAGING_KERNEL_DIR location change
and uses the correct variable to future proof this issue.

[YOCTO #2783]

(From OE-Core rev: 28715eff6dff3415b1d7b0be8cbb465c417e307f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/boot-directdisk.bbclass

index 7d8f8ff7856d40e1bc1376ba57a5ef7bc7bd4217..1c601c60c308198cc5b384c289afef79a691ff0c 100644 (file)
@@ -46,7 +46,7 @@ build_boot_dd() {
        IMAGE=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.hdddirect
 
        install -d ${HDDDIR}
-       install -m 0644 ${STAGING_DIR_HOST}/kernel/bzImage ${HDDDIR}/vmlinuz
+       install -m 0644 ${STAGING_KERNEL_DIR}/bzImage ${HDDDIR}/vmlinuz
        install -m 0644 ${S}/syslinux.cfg ${HDDDIR}/syslinux.cfg
        install -m 444 ${STAGING_LIBDIR}/syslinux/ldlinux.sys ${HDDDIR}/ldlinux.sys