Howto force deploy task in yocto


i accidentally clear the deploy folder from yocto.

How to force only the deploy tasks?

When running bitbake target i always get the error:

ERROR: Function failed: do_imagedeploy …

| cp: cannot stat ‘/xxx/deploy/images/apalis-imx6/uImage*’: No such file or directory

( bitbake -c clean target dont help )

Best regards Lars

Hi Lars

Without trying this I guess it is only U-Boot and Kernel which are somewhat special.
So you could clean them before rebuilding your image target which then would first rebuild U-Boot and Kernel and then build the image.

bitbake -c cleansstate virtual/bootloader virtual/kernel
bitbake target


thanks. that is the solution.

Perfect that it works. Thanks for the feedback.