From: Thomas Perrot <[email protected]> When compiling fitImage with initramfs bundle, the build breaks by throwing the following error | CHK include/generated/compile.h | CHK kernel/config_data.h | mv: cannot stat 'arch/arm64/boot/fitImage': No such file or directory
Fix the error during this compilation by skipping fitImage in do_bundle_initramfs function Signed-off-by: Thomas Perrot <[email protected]> Signed-off-by: Manjukumar Matha <[email protected]> --- meta/classes/kernel.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 7ef4f47..4240752 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -208,7 +208,9 @@ do_bundle_initramfs () { # Backing up kernel image relies on its type(regular file or symbolic link) tmp_path="" for type in ${KERNEL_IMAGETYPES} ; do - if [ -h ${KERNEL_OUTPUT_DIR}/$type ] ; then + if [ "$type" = "fitImage" ] ; then + continue + elif [ -h ${KERNEL_OUTPUT_DIR}/$type ] ; then linkpath=`readlink -n ${KERNEL_OUTPUT_DIR}/$type` realpath=`readlink -fn ${KERNEL_OUTPUT_DIR}/$type` mv -f $realpath $realpath.bak -- 2.7.4 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
