[yocto] [meta-raspberrypi] Read-Only RootFS is not read only

Rich Bayliss richbayliss at gmail.com
Sat Aug 3 17:27:01 PDT 2013


I am using the standard sysvinit/systemd - I haven't specified either,
so whichever is default.

Cheers,
Rich

On 2 August 2013 13:47, Paul Eggleton <paul.eggleton at linux.intel.com> wrote:
> Hi Rich,
>
> On Tuesday 30 July 2013 11:43:43 Rich Bayliss wrote:
>> I am trying to build for Raspberry Pi including "read-only-rootfs" in
>> my image features. My aim is to have my SD Card read-only and at some
>> point add a read-write overlay to certain directories. This should
>> enable my system to boot fresh each time, and have some persistent
>> storage for user files etc.
>>
>> However, after building my image I can SSH into the system and issue
>> "touch test" to create a file in my home directory, then after a
>> reboot it is still there. That isn't very read-only :)
>>
>> Am I missing something, or is this working incorrectly?
>
> It sounds like it's working incorrectly. Since meta-raspberrypi constructs the
> SD card image using its own custom class I wonder if it has anything to do
> with that. Andrei, do you know anything about this?
>
> BTW, are you using sysvinit or systemd in this image?
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre



-- 
Rich Bayliss



More information about the yocto mailing list