I'm reviewing the OSv documentation and scripts to see if I can find an existing solution which would allow the addition/replacement/deletion of files in an already built filesystem image, without needing the entire OSv build environment and performing a rebuild. In my case, the filesystem type used to build the .raw image file is ROFS (selected primarily to reduce startup time).
I can see the script being used to generate this filesystem image (gen-rofs-img.py), but I haven't yet seen any way in which I can unpack/mount an existing filesystem image, make changes to the content and re-pack/unmount the image.
Is this a facility that is already available in some form?
If not, any suggestions on the best approach would be welcome.