Having read-only-rootfs in IMAGE_FEATURES is only working for sysvinit. If using systemd, the root filesystem is still mounted read/write in /etc/fstab.
There has been some interesting work done for readonly rootfs with systemd: https://github.com/MentorEmbedded/meta-ro-rootfs
There are still some patches possibly pending on the list or other outstanding issues, not yet patched, can either the assignee or reporter better enumerate what's missing.
[OE-core] [PATCH 1/1] image.bbclass: avoid boot error on read-only systemd image Once this patch is merged, we can close this bug. //Chen Qi
The patch above has been merged to master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=b4499ec0361d5c79efb40b6172c33d5602721182 Richard will look at taking this into dizzy.
This is in dizzy http://git.yoctoproject.org/cgit.cgi/poky/commit/?h=dizzy&id=9fc095a439c36014c73b3a8f240afba09fe0e4d7