[meta-virtualization] [PATCH 3/3] tgt: Identify CONFFILES
Rob Woolley
rob.woolley at windriver.com
Tue Mar 3 13:25:16 PST 2015
Some package formats explicitly track which files are configuration files
so that they are not overwritten on updates. Explicitly list the
configuration file.
Signed-off by: Rob Woolley <rob.woolley at windriver.com>
--- a/meta-openstack/recipes-support/tgt/tgt_git.bb
+++ b/meta-openstack/recipes-support/tgt/tgt_git.bb
@@ -15,6 +15,8 @@ SRC_URI += "file://tgtd.init"
S = "${WORKDIR}/git"
+CONFFILES_${PN} += "${sysconfdir}/tgt/targets.conf"
+
inherit update-rc.d
do_compile() {
More information about the meta-virtualization
mailing list