mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
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>
This commit is contained in:
@@ -162,3 +162,5 @@ pkg_postinst_${PN} () {
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
CONFFILES_${PN} += "${sysconfdir}/init.d/checkroot.sh"
|
||||
|
||||
Reference in New Issue
Block a user