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.
© 2024 Northern.tech AS