Skip to content
Advertisement

Yocto Custom Image Recipe does not install a file into the final rootfs

I have written a custom Yocto Bitbake Recipe that I have pasted below. I do a certain ROOTFS_POSTPROCESS_COMMAND as shown below as part of my complete image build that includes this recipe. Currently, the image is during the image do_rootfs step because the TIInit_11.8.32-115200_no_dsm-TI_P2.136.bts file is missing from the rootfs directory.

JavaScript

Here is the recipe:

JavaScript

After the image build fails, when I do a Linux updatedb and locate command, the following results are displayed:

JavaScript

Advertisement

Answer

I agree with Oleksandr on this one. Don’t use the postprocess command, it’s likely not doing what you think. Instead, just make sure you use ${S} and your FILES_${PN} could be much simpler.

JavaScript

Debugging your recipe install in tmp/work/target/recipename will help you figure out where things are going.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement