diff options
author | Bryan Evenson <bevenson@melinkcorp.com> | 2015-04-14 17:08:16 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-20 15:03:07 +0100 |
commit | 167025e6d72c44cacfdc5d8b98e942066df09a4f (patch) | |
tree | 0c6230bbc2c0ad7f3cd7f5147bda2131a4ebb85a /scripts/lib/scriptpath.py | |
parent | 6f03a8d7ae383d63bfed8b85c06a697b86719004 (diff) | |
download | poky-167025e6d72c44cacfdc5d8b98e942066df09a4f.tar.gz |
initscripts: Remove /etc/volatile.cache on upgrade
/etc/volatile.cache is a cached copy of a script (which is
generated by /etc/init.d/populate-volatile.sh) that generates
the volatile filesystem directories. Since volatile.cache is
a generated file, it is not necessarily changed if
populate-volatile.sh is updated. As a result, the stale script
can add/remove the wrong directories on the next system boot.
If initscripts is being upgraded, make sure volatile.cache gets
deleted.
(From OE-Core rev: 317269b4a5c698e30b87bd597b436283512cbde9)
Signed-off-by: Bryan Evenson <bevenson@melinkcorp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptpath.py')
0 files changed, 0 insertions, 0 deletions