summaryrefslogtreecommitdiff
path: root/baserock/strata/nfs/rpcbind.morph
diff options
context:
space:
mode:
Diffstat (limited to 'baserock/strata/nfs/rpcbind.morph')
-rw-r--r--baserock/strata/nfs/rpcbind.morph11
1 files changed, 11 insertions, 0 deletions
diff --git a/baserock/strata/nfs/rpcbind.morph b/baserock/strata/nfs/rpcbind.morph
new file mode 100644
index 00000000..0ca929dc
--- /dev/null
+++ b/baserock/strata/nfs/rpcbind.morph
@@ -0,0 +1,11 @@
+name: rpcbind
+kind: chunk
+build-system: autotools
+configure-commands:
+- NOCONFIGURE=1 ./autogen.sh
+- ./configure --prefix="$PREFIX" --with-rpcuser=nobody --enable-warmstarts
+install-commands:
+- make DESTDIR="$DESTDIR" install
+- mkdir -p "$DESTDIR"/lib/systemd/system
+- install -m644 rpcbind.service "$DESTDIR"/lib/systemd/system
+- install -m644 rpcbind.socket "$DESTDIR"/lib/systemd/system