summaryrefslogtreecommitdiff
path: root/strata/nfs
diff options
context:
space:
mode:
Diffstat (limited to 'strata/nfs')
-rw-r--r--strata/nfs/nfs-utils.morph13
1 files changed, 9 insertions, 4 deletions
diff --git a/strata/nfs/nfs-utils.morph b/strata/nfs/nfs-utils.morph
index c412e1d0..4bcb0f42 100644
--- a/strata/nfs/nfs-utils.morph
+++ b/strata/nfs/nfs-utils.morph
@@ -6,7 +6,12 @@ configure-commands:
- ./configure --prefix="$PREFIX" --disable-nfsv4 --disable-nfsv41 --disable-gss --with-rpcgen=internal --without-tcp-wrappers
install-commands:
- make DESTDIR="$DESTDIR" install
-- mkdir -p "$DESTDIR"/lib/systemd/system
-- install -m644 proc-fs-nfsd.mount "$DESTDIR"/lib/systemd/system
-- install -m644 nfs-mountd.service "$DESTDIR"/lib/systemd/system
-- install -m644 nfs-server.service "$DESTDIR"/lib/systemd/system
+- mkdir -p "$DESTDIR$PREFIX"/lib/systemd/system
+- install -m644 proc-fs-nfsd.mount "$DESTDIR$PREFIX"/lib/systemd/system
+- install -m644 nfs-mountd.service "$DESTDIR$PREFIX"/lib/systemd/system
+- install -m644 nfs-server.service "$DESTDIR$PREFIX"/lib/systemd/system
+post-install-commands:
+- |
+ mkdir -p "$DESTDIR$PREFIX"/bin
+ mv "$DESTDIR"/sbin "$DESTDIR$PREFIX"/bin
+ rm -r "$DESTDIR"/sbin