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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 18 Jul 2012 21:50:14 +0000 (22:50 +0100)
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 7d8f8ff..1c601c6 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