mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
f6c9b4f0eb
commit
1cdf38677b
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user