diff options
author | Jian Liu <jian.liu@windriver.com> | 2014-11-21 17:17:11 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-03 12:22:41 +0000 |
commit | a265af666a80298ccca0eb80d6f15ca3d4be8b57 (patch) | |
tree | 3a624fa4651ca0f1b3ea165decf117221d04dcac /meta/recipes-core | |
parent | 2ffc174e9506a00081457145f0fcf3bef5846f4a (diff) | |
download | openembedded-core-a265af666a80298ccca0eb80d6f15ca3d4be8b57.tar.gz openembedded-core-a265af666a80298ccca0eb80d6f15ca3d4be8b57.tar.bz2 openembedded-core-a265af666a80298ccca0eb80d6f15ca3d4be8b57.zip |
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>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/initscripts/initscripts_1.0.bb | 2 |
1 files changed, 2 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..afdc53830a 100644 --- a/meta/recipes-core/initscripts/initscripts_1.0.bb +++ b/meta/recipes-core/initscripts/initscripts_1.0.bb @@ -162,3 +162,5 @@ pkg_postinst_${PN} () { done fi } + +CONFFILES_${PN} += "${sysconfdir}/init.d/checkroot.sh" |