Skip to content
Commit 3bdc0980 authored by Bryan Evenson's avatar Bryan Evenson Committed by Richard Purdie
Browse files

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.

Signed-off-by: default avatarBryan Evenson <bevenson@melinkcorp.com>
parent edeeee84
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment