summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/nfs-utils
diff options
context:
space:
mode:
authorRob Woolley <rob.woolley@windriver.com>2015-03-09 19:52:57 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-16 17:38:45 +0000
commit3499838102e63321d61ec33352fd75fb58c4a3e6 (patch)
tree2b9d38141012702f2bb05b3341c69a50e9e82ee4 /meta/recipes-connectivity/nfs-utils
parent700e13e5ad2b5a8e1eaf9c37f7a2059ad1cc3d5a (diff)
downloadopenembedded-core-3499838102e63321d61ec33352fd75fb58c4a3e6.tar.gz
openembedded-core-3499838102e63321d61ec33352fd75fb58c4a3e6.tar.bz2
openembedded-core-3499838102e63321d61ec33352fd75fb58c4a3e6.zip
nfs-utils: Identify CONFFILES
Some package formats explicitly track which files are configuration files so that they are not overwritten on updates. We must use an explicit list instead of a wildcard as nfs-utils-client provides files under ${localstatedir}/lib/nfs that are not configuration files. Signed-off by: Rob Woolley <rob.woolley@windriver.com>
Diffstat (limited to 'meta/recipes-connectivity/nfs-utils')
-rw-r--r--meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.1.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.1.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.1.bb
index 1439063363..6f64e9d001 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.1.bb
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.1.bb
@@ -68,6 +68,13 @@ PACKAGECONFIG[nfsidmap] = "--enable-nfsidmap,--disable-nfsidmap,keyutils"
INHIBIT_AUTO_STAGE = "1"
PACKAGES =+ "${PN}-client ${PN}-stats"
+
+CONFFILES_${PN}-client += "${localstatedir}/lib/nfs/etab \
+ ${localstatedir}/lib/nfs/rmtab \
+ ${localstatedir}/lib/nfs/xtab \
+ ${localstatedir}/lib/nfs/statd/state \
+ ${sysconfdir}/nfsmount.conf"
+
FILES_${PN}-client = "${base_sbindir}/*mount.nfs* ${sbindir}/*statd \
${sbindir}/rpc.idmapd ${sbindir}/sm-notify \
${sbindir}/showmount ${sbindir}/nfsstat \