diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-06-14 22:40:39 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-06-14 23:32:07 +0200 |
commit | 3548c205ad5b869ffbd66b997eeb3e19565e3933 (patch) | |
tree | c7b9e1f3571a9df365432fb68a0b7d51be521b67 /net-fs/nfs-utils | |
parent | net-misc/streamlink: version bump to 0.6.0 (diff) | |
download | gentoo-3548c205ad5b869ffbd66b997eeb3e19565e3933.tar.gz gentoo-3548c205ad5b869ffbd66b997eeb3e19565e3933.tar.bz2 gentoo-3548c205ad5b869ffbd66b997eeb3e19565e3933.zip |
net-fs/nfs-utils: Backported some changes.
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'net-fs/nfs-utils')
-rw-r--r-- | net-fs/nfs-utils/nfs-utils-1.3.4-r1.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net-fs/nfs-utils/nfs-utils-1.3.4-r1.ebuild b/net-fs/nfs-utils/nfs-utils-1.3.4-r1.ebuild index 79d5d3997a91..ab79aa46f8e5 100644 --- a/net-fs/nfs-utils/nfs-utils-1.3.4-r1.ebuild +++ b/net-fs/nfs-utils/nfs-utils-1.3.4-r1.ebuild @@ -147,6 +147,9 @@ src_install() { -e '/^(After|Wants)=nfs-config.service$/d' \ -e 's:/usr/sbin/rpc.statd:/sbin/rpc.statd:' \ "${D}$(systemd_get_unitdir)"/* || die + + keepdir /var/lib/nfs #368505 + keepdir /var/lib/nfs/v4recovery #603628 } pkg_postinst() { @@ -154,7 +157,6 @@ pkg_postinst() { # src_install we put them in /usr/lib/nfs for safe-keeping, but # the daemons actually use the files in /var/lib/nfs. #30486 local f - mkdir -p "${EROOT}"/var/lib/nfs #368505 for f in "${EROOT}"/usr/$(get_libdir)/nfs/*; do [[ -e ${EROOT}/var/lib/nfs/${f##*/} ]] && continue einfo "Copying default ${f##*/} from ${EPREFIX}/usr/$(get_libdir)/nfs to ${EPREFIX}/var/lib/nfs" |