[OE-core] [PATCH] image_types: fix default location of kernel when generating elf images
Darren Hart
dvhart at linux.intel.com
Wed May 1 20:29:56 UTC 2013
On 05/01/2013 01:24 PM, tf+lists.yocto at r-finger.com wrote:
> From: Tomas Frydrych <tomas at sleepfive.com>
>
> The kernel is now located in DEPLOY_DIR_IMAGE rather than sysroot.
>
> Signed-off-by: Tomas Frydrych <tomas at sleepfive.com>
> ---
> meta/classes/image_types.bbclass | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
> index 98d31f5..0e1ad3a 100644
> --- a/meta/classes/image_types.bbclass
> +++ b/meta/classes/image_types.bbclass
> @@ -185,7 +185,7 @@ IMAGE_CMD_cpio () {
> cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio)
> }
>
> -ELF_KERNEL ?= "${STAGING_DIR_HOST}/kernel/${KERNEL_IMAGETYPE}"
> +ELF_KERNEL ?= "${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin"
Looks correct, how did this fail before? What was the symptom?
> ELF_APPEND ?= "ramdisk_size=32768 root=/dev/ram0 rw console="
>
> IMAGE_CMD_elf () {
>
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Technical Lead - Linux Kernel
More information about the Openembedded-core
mailing list