Re: Providing Read/Write permission to "etc" in Read only Rootfile system #zeus #yocto

Michael Opdenacker

Hi Poornesh

On 7/20/22 12:17, poornesh.g@... wrote:
Greetings !

I am working on NXP's i.MX6UL SoC and I have successfully built a Read-only Rootfile system through Yocto.
Now I am having a requirement of making only "/etc" as Read & Writable .
So , Can any one suggest me the procedure for making only "/etc" directory as Read & Writable and by keeping rest (/usr , /lib , /bin , ..) as Read-only  through Yocto .

This is not supported in Zeus, but otherwise you may be interested in the "overlay-etc" class:


Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering

Join to automatically receive all group messages.