summaryrefslogtreecommitdiff
path: root/meta/classes/bootimg.bbclass
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-06-11 10:35:28 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-06-11 10:35:28 +0000
commit59470e1d06a4c2e44382c233ae98cf6f05b7912c (patch)
tree71682a8400dee8afc35b0bc30df11e00e579b00c /meta/classes/bootimg.bbclass
parenta8aaedc686254b1532243f614dc276bd97e820bf (diff)
downloadopenembedded-core-59470e1d06a4c2e44382c233ae98cf6f05b7912c.tar.gz
openembedded-core-59470e1d06a4c2e44382c233ae98cf6f05b7912c.tar.bz2
openembedded-core-59470e1d06a4c2e44382c233ae98cf6f05b7912c.tar.xz
openembedded-core-59470e1d06a4c2e44382c233ae98cf6f05b7912c.zip
bootimg.bbclass: get kernel from proper directory in staging
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1911 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/bootimg.bbclass')
-rw-r--r--meta/classes/bootimg.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass
index 90bc3a430..3a8c71508 100644
--- a/meta/classes/bootimg.bbclass
+++ b/meta/classes/bootimg.bbclass
@@ -34,7 +34,7 @@ inherit syslinux
build_boot_bin() {
install -d ${HDDDIR}
- install -m 0644 ${STAGING_KERNEL_DIR}/bzImage \
+ install -m 0644 ${STAGING_DIR}/${MACHINE}${HOST_VENDOR}-${HOST_OS}/kernel/bzImage \
${HDDDIR}/vmlinuz
if [ -n "${INITRD}" ] && [ -s "${INITRD}" ]; then
@@ -61,7 +61,7 @@ build_boot_bin() {
# Install the kernel
- install -m 0644 ${STAGING_KERNEL_DIR}/bzImage \
+ install -m 0644 ${STAGING_DIR}/${MACHINE}${HOST_VENDOR}-${HOST_OS}/kernel/bzImage \
${ISODIR}/vmlinuz
# Install the configuration files