Read-only root filesystem


Configuring the image for read-only rootfs

To build an image containing read-only rootfs add the following changes to the conf/local.conf file:

IMAGE_FEATURES += "read-only-rootfs"

You can read more about this feature in the Yocto Documentation for Creating a Read-Only Root Filesystem

This feature is highly package dependent and even though Mender works correctly with this feature enabled, there might be other packages in your image that expect the root filesystem to be writable and might not function properly.

We welcome contributions to improve this documentation. To submit a change, use the Edit link at the top of the page or email us at .