]> code.ossystems Code Review - openembedded-core.git/commit
base-files: avoid overwritting editable files during package updating
authorJian Liu <jian.liu@windriver.com>
Fri, 21 Nov 2014 09:17:10 +0000 (17:17 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Dec 2014 12:22:41 +0000 (12:22 +0000)
commit2ffc174e9506a00081457145f0fcf3bef5846f4a
tree2a2ec0de32942c2db9ae15b43114333fbfbf53eb
parentd8921e4ea68647dfcf02ae046c9e09bf59f3e6e4
base-files: avoid overwritting editable files during package updating

Use CONFFILES to mark editable files as such,
  /etc/motd
  /etc/nsswitch.conf
  /etc/profile

If there is no %config micro before the file name in the spec file,
this file will be overwritten after updating package.
This will make our settings lost.

Signed-off-by: Jian Liu <jian.liu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/base-files/base-files_3.0.14.bb