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-24 17:52:43 +0000 |
commit | b574ac6f3c9e07f0054ed4261bc1f83583c29c53 (patch) | |
tree | 8555fa8ccb2697b06e3431d21d3cc91c0c3c211f /scripts/lib/wic/plugins/source/bootimg-partition.py | |
parent | 98230d2d049c742c349f35b256b13afbc3d26235 (diff) | |
download | openembedded-core-b574ac6f3c9e07f0054ed4261bc1f83583c29c53.tar.gz openembedded-core-b574ac6f3c9e07f0054ed4261bc1f83583c29c53.tar.bz2 openembedded-core-b574ac6f3c9e07f0054ed4261bc1f83583c29c53.zip |
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]
Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/plugins/source/bootimg-partition.py')
0 files changed, 0 insertions, 0 deletions