summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/initscripts/initscripts_1.0.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb b/meta/recipes-core/initscripts/initscripts_1.0.bb
index a665acf6e4..775816a37f 100644
--- a/meta/recipes-core/initscripts/initscripts_1.0.bb
+++ b/meta/recipes-core/initscripts/initscripts_1.0.bb
@@ -161,4 +161,9 @@ pkg_postinst_${PN} () {
161 systemctl $OPTS mask $SERVICE.service 161 systemctl $OPTS mask $SERVICE.service
162 done 162 done
163 fi 163 fi
164
165 # Delete any old volatile cache script, as directories may have moved
166 if [ -z "$D" ]; then
167 rm -f "/etc/volatile.cache"
168 fi
164} 169}