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

Use CONFFILES to mark editable files as such,
  /etc/init.d/checkroot.sh

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/initscripts/initscripts_1.0.bb