To build an image containing read-only rootfs add the following changes to the
IMAGE_FEATURES += "read-only-rootfs"
You can read more about this feature in the Yocto Project Mega-Manual - 7.27. 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.
Found errors? Think you can improve this documentation? Simply click the Edit link at the top of the page, and then the icon on Github to submit changes.
© 2021 Northern.tech AS