summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@intel.com>2011-05-04 22:42:26 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-05 11:54:47 +0100
commit173d04ea828e7f790ede40929c8ffd7340b4c077 (patch)
treea549202b31f9719bad3e305d22ad03fdd525fe81
parentefc68af7259b4bcbb1e03a090128289a7cdc7944 (diff)
downloadopenembedded-core-173d04ea828e7f790ede40929c8ffd7340b4c077.tar.gz
openembedded-core-173d04ea828e7f790ede40929c8ffd7340b4c077.tar.bz2
openembedded-core-173d04ea828e7f790ede40929c8ffd7340b4c077.tar.xz
openembedded-core-173d04ea828e7f790ede40929c8ffd7340b4c077.zip
boot-directdisk: fix bzImage source location
Fixes yocto [BUGID #876] boot-directdisk.class looks in the wrong location for the bzImage to install. Make it look in the right place. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
-rw-r--r--meta/classes/boot-directdisk.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/boot-directdisk.bbclass b/meta/classes/boot-directdisk.bbclass
index d87dc2258..8879ba8eb 100644
--- a/meta/classes/boot-directdisk.bbclass
+++ b/meta/classes/boot-directdisk.bbclass
@@ -49,7 +49,7 @@ build_boot_dd() {
IMAGE=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.hdddirect
install -d ${HDDDIR}
- install -m 0644 ${STAGING_DIR}/${MACHINE}${HOST_VENDOR}-${HOST_OS}/kernel/bzImage ${HDDDIR}/vmlinuz
+ install -m 0644 ${STAGING_DIR_HOST}/kernel/bzImage ${HDDDIR}/vmlinuz
install -m 444 ${STAGING_LIBDIR}/syslinux/ldlinux.sys ${HDDDIR}/ldlinux.sys
BLOCKS=`du -bks ${HDDDIR} | cut -f 1`