summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-02-15 23:01:50 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-02-24 18:37:38 +0000
commit06c3e49f017c22f456e43e0a34925d17db7fbc7f (patch)
treed5f2112f586b2faa761760e85b1f96dce6b4ddbd
parent3cc16b47d44252effb71d0a54d5807755974bec0 (diff)
downloaddefinitions-06c3e49f017c22f456e43e0a34925d17db7fbc7f.tar.gz
nfs-utils: usrmerge
-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