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:
parent
535afd4b06
commit
b4f4d0f804
|
@ -162,3 +162,5 @@ pkg_postinst_${PN} () {
|
|||
done
|
||||
fi
|
||||
}
|
||||
|
||||
CONFFILES_${PN} += "${sysconfdir}/init.d/checkroot.sh"
|
||||
|
|
Loading…
Reference in New Issue