Hello, I add a new task in my image recipe that inherit of core-image like below :
*************************** do_uimage() { cat ${DEPLOY_DIR_IMAGE}/zImage-imx6d-axion.dtb >> ${DEPLOY_DIR_IMAGE}/zImage-initramfs-${MACHINE}.bin mkimage -A arm -O linux -T kernel -C none -a 0x12000000 -e 0x12000000 -n "Linux Kernel" -d ${DEPLOY_DIR_IMAGE}/zImage-initramfs-${MACHINE}.bin ${DEPLOY_DIR_IMAGE}/uImage md5sum ${DEPLOY_DIR_IMAGE}/uImage | cut -d' ' -f1 > ${DEPLOY_DIR_IMAGE}/uMD5 } addtask do_uimage after do_deploy before do_build *************************** The task is run the first time I call "bitbake prod-image" but for the subsequent call the task uimage isn't called. I have to call "bitbake -c uimage prod-image" to run it. How can I make this new task run each time the task do_deploy need to be run? thanks for your help Jonathan
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto