Here is an example to overlay on read only file system.
Of course you can also rebuild the yocto image