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:23:59 +0000 |
commit | b4f4d0f804d126c9d4aa002a1ca4c83b249f1e8c (patch) | |
tree | e1cafacbcf1222546a523fe693321e4de5736465 /meta | |
parent | 535afd4b06236fa5ac87d657c4da611f3f61c173 (diff) | |
download | poky-b4f4d0f804d126c9d4aa002a1ca4c83b249f1e8c.tar.gz |
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.
(From OE-Core rev: a265af666a80298ccca0eb80d6f15ca3d4be8b57)
Signed-off-by: Jian Liu <jian.liu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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} () { | |||
162 | done | 162 | done |
163 | fi | 163 | fi |
164 | } | 164 | } |
165 | |||
166 | CONFFILES_${PN} += "${sysconfdir}/init.d/checkroot.sh" | ||