fitimage build code and DEPLOY_DIR
I have some working code which creates a fitImage that u-boot can boot with kernel and ramdisk. I am attempting to reduce host contamination by creating a local copy which can go into the its file/data.
But this ends up causing changes in the DEPLOY_DIR leading to deletion of symlinks. I was thinking that the image build code is solely in the tmp/work/MACHINE/image-recipe, but I'm thinking now that there is hidden (to me) behavior possibly in the bitbake rootfs libraries or sstate code. I hoping someone familiar with this can assist.
Thanks,
Jate S.
I'll post a fix for reference.
This was because the image CONVERSION_CMD code runs in IMGDEPLOYDIR which does lead to DEPLOY_DIR sstate interference. The fix is to perform these operations in B instead and copy the output to IMGDEPLOYDIR.
Jate S.