]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
populate-volatile.sh: detect the change of configuration files ChenQi/populate-volatile-cache
authorChen Qi <Qi.Chen@windriver.com>
Fri, 20 Mar 2015 05:51:20 +0000 (13:51 +0800)
committerChen Qi <Qi.Chen@windriver.com>
Fri, 20 Mar 2015 06:19:28 +0000 (14:19 +0800)
commit90fb0fe5d4a4139729dbaf7ba39191bf8c9608a8
tree7c308436975b754dd8bef678f5708895143c4555
parent0752c79282b1cc9699743e719518e6c341d50a3a
populate-volatile.sh: detect the change of configuration files

In case the configuration files are modified by user, the cached script,
/etc/volatile.cache should not be executed. Instead, the configuration
files should be parsed again and generate the new cache. Otherwise, the
user modifications take no effect which would obviously confuse users.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
meta/recipes-core/initscripts/initscripts-1.0/populate-volatile.sh