]> code.ossystems Code Review - openembedded-core.git/commitdiff
bootimg.bbclass: get kernel from proper directory in staging
authorMarcin Juszkiewicz <hrw@openedhand.com>
Mon, 11 Jun 2007 10:35:28 +0000 (10:35 +0000)
committerMarcin Juszkiewicz <hrw@openedhand.com>
Mon, 11 Jun 2007 10:35:28 +0000 (10:35 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1911 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/classes/bootimg.bbclass

index 90bc3a430a38c202ade4f6e539b2682cb1dbf3bc..3a8c71508744b2820dfb69cb6e11b1b1ea665c70 100644 (file)
@@ -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