ACK, This patch fixes the build. Bitbake is able to complete the creation of 
the bootable images.

Nitin


> -----Original Message-----
> From: Darren Hart [mailto:[email protected]]
> Sent: Thursday, July 05, 2012 11:39 PM
> To: [email protected]
> Cc: Darren Hart; Zanussi, Tom; Wold, Saul; Kamble, Nitin A
> Subject: [PATCH] bootimg: Use STAGING_KERNEL_DIR
> 
> bootimg.bbclass using STAGING_DIR_HOST/kernel instead of
> STAGING_KERNEL_DIR, resulting in build failure of live images.
> 
> | install: cannot stat
> | `/usr/local/dev/yocto/fishriver-test/build/tmp/sysroots/fishriver/kern
> | el/bzImage': No such file or directory
> 
> Replace it with STAGING_KERNEL_DIR.
> 
> UNTESTED - PLEASE TEST PRIOR TO PULL.
> 
> Signed-off-by: Darren Hart <[email protected]>
> CC: [email protected]
> CC: [email protected]
> CC: [email protected]
> ---
>  meta/classes/bootimg.bbclass |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass
> index 370b378..a4c0e8d 100644
> --- a/meta/classes/bootimg.bbclass
> +++ b/meta/classes/bootimg.bbclass
> @@ -63,7 +63,7 @@ populate() {
>       install -d ${DEST}
> 
>       # Install bzImage, initrd, and rootfs.img in DEST for all loaders to 
> use.
> -     install -m 0644 ${STAGING_DIR_HOST}/kernel/bzImage
> ${DEST}/vmlinuz
> +     install -m 0644 ${STAGING_KERNEL_DIR}/bzImage ${DEST}/vmlinuz
> 
>       if [ -n "${INITRD}" ] && [ -s "${INITRD}" ]; then
>               install -m 0644 ${INITRD} ${DEST}/initrd
> --
> 1.7.10.4


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to