[OE-core] KERNEL_IMAGETYPES and Image.gz

Nicolas Dechesne nicolas.dechesne at linaro.org
Mon May 29 21:13:48 UTC 2017


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..

Any thoughts?

thanks
nico



More information about the Openembedded-core mailing list