summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Dale <richard.dale@codethink.co.uk>2015-06-10 16:20:19 +0100
committerRichard Dale <richard.dale@codethink.co.uk>2015-06-10 16:20:19 +0100
commit9c6e5307ad6a7ffb8b8258def90a7e0f154a13bf (patch)
tree0e8b3166a4c11f4e9715b2c61a3ca8822075eb47
parent5dc9163d2025d092dfee74755b329cd254a255d1 (diff)
downloaddefinitions-9c6e5307ad6a7ffb8b8258def90a7e0f154a13bf.tar.gz
Fix rpcd sym link and install more rpcd config files
-rw-r--r--strata/cpe-wrt/base-files.morph1
-rw-r--r--strata/cpe-wrt/rpcd.morph6
-rw-r--r--strata/cpe-wrt/uhttpd2.morph (renamed from strata/cpe-wrt/uhttpd.morph)2
3 files changed, 8 insertions, 1 deletions
diff --git a/strata/cpe-wrt/base-files.morph b/strata/cpe-wrt/base-files.morph
index eb9f66cf..a91db95a 100644
--- a/strata/cpe-wrt/base-files.morph
+++ b/strata/cpe-wrt/base-files.morph
@@ -33,3 +33,4 @@ install-commands:
- install package/network/services/dropbear/files/dropbear.config "$DESTDIR"/etc/config/dropbear
- install package/network/config/firewall/files/firewall.config "$DESTDIR"/etc/config/firewall
- install package/network/services/uhttpd/files/uhttpd.config "$DESTDIR"/etc/config/uhttpd
+- install package/system/rpcd/files/rpcd.config "$DESTDIR"/etc/config/rpcd
diff --git a/strata/cpe-wrt/rpcd.morph b/strata/cpe-wrt/rpcd.morph
index 0d8d7479..999f27ec 100644
--- a/strata/cpe-wrt/rpcd.morph
+++ b/strata/cpe-wrt/rpcd.morph
@@ -14,3 +14,9 @@ install-commands:
- make install
- install -d $DESTDIR$PREFIX/include/rpcd
- cd include/rpcd ; install * $DESTDIR$PREFIX/include/rpcd
+- install -d "$DESTDIR$PREFIX"/share/rpcd/acl.d
+- install unauthenticated.json "$DESTDIR$PREFIX"/share/rpcd/acl.d
+
+post-install-commands:
+- install -d "$DESTDIR/sbin" && cd "$DESTDIR/sbin" && ln -s ..$PREFIX/sbin/rpcd rpcd
+
diff --git a/strata/cpe-wrt/uhttpd.morph b/strata/cpe-wrt/uhttpd2.morph
index cefcc91f..f7106582 100644
--- a/strata/cpe-wrt/uhttpd.morph
+++ b/strata/cpe-wrt/uhttpd2.morph
@@ -1,4 +1,4 @@
-name: uhttp
+name: uhttp2
kind: chunk
pre-configure-commands: