nfs-utils: switch to /usr.
This commit is contained in:
parent
6535502054
commit
cc3b1483a0
2 changed files with 5 additions and 5 deletions
|
@ -25,7 +25,7 @@ do_install() {
|
|||
vmove usr/share/man/man7 usr/share/man
|
||||
vmove var/lib/nfs var/lib
|
||||
for f in blkmapd nfsd rpc-mountd rpc-svcgssd; do
|
||||
vmove lib/systemd/system/${f}.service lib/systemd/system
|
||||
vmove usr/lib/systemd/system/${f}.service usr/lib/systemd/system
|
||||
done
|
||||
vmove lib/systemd/system/proc-fs-nfsd.mount lib/systemd/system
|
||||
vmove usr/lib/systemd/system/proc-fs-nfsd.mount usr/lib/systemd/system
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'nfs-utils'
|
||||
pkgname=nfs-utils
|
||||
version=1.2.6
|
||||
revision=5
|
||||
revision=6
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-statduser=nobody --enable-gss --enable-nfsv4
|
||||
--with-statedir=/var/lib/nfs --enable-libmount-mount
|
||||
|
@ -36,7 +36,7 @@ post_install() {
|
|||
# systemd glue
|
||||
vinstall ${FILESDIR}/${pkgname}.tmpfiles.d 644 \
|
||||
usr/lib/tmpfiles.d ${pkgname}.conf
|
||||
vmkdir lib/systemd/system
|
||||
vmkdir usr/lib/systemd/system
|
||||
install -m644 ${FILESDIR}/*.{service,mount} \
|
||||
${DESTDIR}/lib/systemd/system
|
||||
${DESTDIR}/usr/lib/systemd/system
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue