What is the correct way to bundle custom libraries into a system image?


What would be the steps to add libraries to /usr/lib that my apps could then later use? I guess I would need to add them to the yocto system image, but I am having a hard time figuring out where to add them. I got them cross-compiled already so I have some .so files, I just need to add them to the image. How would I go about doing this?

I want to be able to include a few libraries but I don’t want them to affect our code size to avoid having large update sizes in the future.



Try the aufs way mentioned here