[meta-virtualization] [PATCH 2/3] nss-pam-ldapd: Identify CONFFILES

Rob Woolley rob.woolley at windriver.com
Tue Mar 3 13:25:15 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/nss-pam-ldapd/nss-pam-ldapd_0.9.4.bb
+++ b/meta-openstack/recipes-support/nss-pam-ldapd/nss-pam-ldapd_0.9.4.bb
@@ -33,6 +33,8 @@ EXTRA_OECONF = "\
 	--with-pam-seclib-dir=${base_libdir}/security \
 	"
 
+CONFFILES_${PN} += "${sysconfdir}/nslcd.conf"
+
 FILES_${PN} += "${base_libdir}/security ${datadir}"
 FILES_${PN}-dbg += "${base_libdir}/security/.debug"
 


More information about the meta-virtualization mailing list