Patchwork [09/15] boot-directdisk: Fix kernel location after STAGING_KERNEL_DIR change

login
register
mail settings
Submitter Scott Garman
Date Dec. 28, 2012, 9:41 p.m.
Message ID <f02a7341e37aec155772e1546d8b21ef2c9f5e9d.1356730817.git.scott.a.garman@intel.com>
Download mbox | patch
Permalink /patch/41775/
State New
Headers show

Comments

Scott Garman - Dec. 28, 2012, 9:41 p.m.
From: Richard Purdie <richard.purdie@linuxfoundation.org>

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 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/classes/boot-directdisk.bbclass b/meta/classes/boot-directdisk.bbclass
index 7d8f8ff..1c601c6 100644
--- a/meta/classes/boot-directdisk.bbclass
+++ b/meta/classes/boot-directdisk.bbclass
@@ -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