summaryrefslogtreecommitdiffstats
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:42:04 +0000
commit1cdf38677b7420a38f7de53e4dec564427094774 (patch)
treedfef99e2bf12e6f433a592a9b87880d5c81a427e
parentf6c9b4f0eb0c9a4483de519f0c9ef6f44fa931b4 (diff)
downloadpoky-1cdf38677b7420a38f7de53e4dec564427094774.tar.gz
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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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"
68INHIBIT_AUTO_STAGE = "1" 68INHIBIT_AUTO_STAGE = "1"
69 69
70PACKAGES =+ "${PN}-client ${PN}-stats" 70PACKAGES =+ "${PN}-client ${PN}-stats"
71
72CONFFILES_${PN}-client += "${localstatedir}/lib/nfs/etab \
73 ${localstatedir}/lib/nfs/rmtab \
74 ${localstatedir}/lib/nfs/xtab \
75 ${localstatedir}/lib/nfs/statd/state \
76 ${sysconfdir}/nfsmount.conf"
77
71FILES_${PN}-client = "${base_sbindir}/*mount.nfs* ${sbindir}/*statd \ 78FILES_${PN}-client = "${base_sbindir}/*mount.nfs* ${sbindir}/*statd \
72 ${sbindir}/rpc.idmapd ${sbindir}/sm-notify \ 79 ${sbindir}/rpc.idmapd ${sbindir}/sm-notify \
73 ${sbindir}/showmount ${sbindir}/nfsstat \ 80 ${sbindir}/showmount ${sbindir}/nfsstat \