Re: [OE-core] [PATCH 2/2] image.bbclass: Empty /var/volatile if it is a mount point

2015-03-24 Thread randy . e . witt
On Mon, Mar 23, 2015 at 5:28 PM, Randy Witt randy.e.w...@linux.intel.com wrote: If /var/volatile is a mount point it shouldn't contain any files before mount time. If files are there, they will no longer be able to be accessed once the tmpfs gets mounted at /var/volatile. why not use

Re: [OE-core] [PATCH 2/2] image.bbclass: Empty /var/volatile if it is a mount point

2015-03-24 Thread Randy Witt
On 03/24/2015 08:53 AM, Khem Raj wrote: On Mar 24, 2015, at 8:46 AM, randy.e.w...@linux.intel.com wrote: On Mon, Mar 23, 2015 at 5:28 PM, Randy Witt randy.e.w...@linux.intel.com wrote: If /var/volatile is a mount point it shouldn't contain any files before mount time. If files are there,

Re: [OE-core] [PATCH 2/2] image.bbclass: Empty /var/volatile if it is a mount point

2015-03-24 Thread Khem Raj
On Mar 24, 2015, at 8:46 AM, randy.e.w...@linux.intel.com wrote: On Mon, Mar 23, 2015 at 5:28 PM, Randy Witt randy.e.w...@linux.intel.com wrote: If /var/volatile is a mount point it shouldn't contain any files before mount time. If files are there, they will no longer be able to be

Re: [OE-core] [PATCH 2/2] image.bbclass: Empty /var/volatile if it is a mount point

2015-03-23 Thread Khem Raj
On Mon, Mar 23, 2015 at 5:28 PM, Randy Witt randy.e.w...@linux.intel.com wrote: If /var/volatile is a mount point it shouldn't contain any files before mount time. If files are there, they will no longer be able to be accessed once the tmpfs gets mounted at /var/volatile. why not use copy-bind

[OE-core] [PATCH 2/2] image.bbclass: Empty /var/volatile if it is a mount point

2015-03-23 Thread Randy Witt
If /var/volatile is a mount point it shouldn't contain any files before mount time. If files are there, they will no longer be able to be accessed once the tmpfs gets mounted at /var/volatile. This problem can be seen for instance when systemd creates /var/volatile/log/journal as part of its