[OE-core] [PATCH 1/2] nfs-utils: Identify CONFFILES

Rob Woolley rob.woolley at windriver.com
Tue Mar 3 21:32:44 UTC 2015


Some package formats explicitly track which files are configuration files
so that they are not overwritten on updates. Explicitly list the
configuration files.

Signed-off by: Rob Woolley <rob.woolley at windriver.com>
--- meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.1.bb
+++ meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.1.bb
@@ -68,6 +68,12 @@ PACKAGECONFIG[nfsidmap] = "--enable-nfsi
 INHIBIT_AUTO_STAGE = "1"
 
 PACKAGES =+ "${PN}-client ${PN}-stats"
+
+CONFFILES_${PN}-client += "/var/lib/nfs/etab"
+CONFFILES_${PN}-client += "/var/lib/nfs/rmtab"
+CONFFILES_${PN}-client += "/var/lib/nfs/state"
+CONFFILES_${PN}-client += "/var/lib/nfs/xtab"
+
 FILES_${PN}-client = "${base_sbindir}/*mount.nfs* ${sbindir}/*statd \
 		      ${sbindir}/rpc.idmapd ${sbindir}/sm-notify \
 		      ${sbindir}/showmount ${sbindir}/nfsstat \



More information about the Openembedded-core mailing list