Re: [OE-core] [PATCH V2] var/volatile: Mount it if doing ro-rfs

2015-03-11 Thread Burton, Ross
On 11 March 2015 at 18:07, Khem Raj raj.k...@gmail.com wrote: + grep -q tmpfs /var/volatile /proc/mounts || mount -t tmpfs -o strictatime tmpfs /var/volatile What is someone uses tmpfs[tab]/var/volatile? This should match on arbitrary whitespace. Ross --

Re: [OE-core] [PATCH V2] var/volatile: Mount it if doing ro-rfs

2015-03-11 Thread Khem Raj
On Mar 11, 2015 2:02 PM, Burton, Ross ross.bur...@intel.com wrote: On 11 March 2015 at 18:07, Khem Raj raj.k...@gmail.com wrote: + grep -q tmpfs /var/volatile /proc/mounts || mount -t tmpfs -o strictatime tmpfs /var/volatile What is someone uses tmpfs[tab]/var/volatile? This

[OE-core] [PATCH V2] var/volatile: Mount it if doing ro-rfs

2015-03-11 Thread Khem Raj
- Do not mount /var/volatile to be tmpfs always only when generating readonly rootfs - Generate var-volatile.mount unit when using system in readonly-rootfs to mount /var/volatile as tmpfs - for sysvinit, mount /var/volatile to be tmpfs if its not already mounted so - Use RequiresMountsFor