diff options
author | Randy Witt <randy.e.witt@linux.intel.com> | 2015-03-24 10:26:36 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-25 12:39:45 +0000 |
commit | d2690754febcaff134de2085294af4561c1d9214 (patch) | |
tree | 3493115e000b51a7af969792e81aa6cd9896ccd1 /scripts/jhbuild/modulesets | |
parent | 96104b825f0802166790983f52f8b8929869f553 (diff) | |
download | poky-d2690754febcaff134de2085294af4561c1d9214.tar.gz |
image.bbclass: Empty /var/volatile if it is a mount point
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 package installation. It then
assumes the journal is persistent even though /var/volatile/log/journal
goes away shortly thereafter.
This change makes sure that there are no files in /var/volatile if it is
to be used as a mount point.
[Yocto #7388]
(From OE-Core rev: b574ac6f3c9e07f0054ed4261bc1f83583c29c53)
Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/jhbuild/modulesets')
0 files changed, 0 insertions, 0 deletions