[OE-core] KERNEL_IMAGETYPES and Image.gz
Kunihiko Hayashi
hayashi.kunihiko at socionext.com
Fri Jun 2 16:16:11 UTC 2017
On 2017/05/30 6:13, nicolas.dechesne at linaro.org (Nicolas Dechesne) wrote:
> hi,
>
> i am trying to set KERNEL_IMAGETYPES="Image.gz" in my machine conf
> file. But it doesn't work. I am seeing this error during
> kernel_do_compile():
>
> run.do_compile.30019: cannot open Image: No such file
>
> In fact the code snippet that tries to compress the Image file into
> Image.gz expects the Image file to be in ${B}, but when compiling
> kernel Image is actually in ${B}/arch/arm64/boot:
>
> $ find tmp-rpb-glibc/work/dragonboard_410c-linaro-linux/linux-linaro-qcomlt/
> -name Image
>
tmp-rpb-glibc/work/dragonboard_410c-linaro-linux/linux-linaro-qcomlt/4.9-r0/build/arch/arm64/boot/Image
>
> The piece of code in question is in kernel.bbclass:
>
> gzip -9c < "${typeformake}" > "${KERNEL_OUTPUT_DIR}/${type}"
> It really sounds to me like something obvious is missing, i doubt I
> would be the first one to try Image.gz..
I already suggested the patch to solve this issue.
https://patchwork.openembedded.org/patch/138596/
Although I've not received any comments on this yet, could you try to apply it?
>
> Any thoughts?
>
> thanks
> nico
>
Best Regards,
Kunihiko Hayashi
More information about the Openembedded-core
mailing list