summaryrefslogtreecommitdiff
path: root/strata/cpe-wrt/ubus.morph
diff options
context:
space:
mode:
authorSimon Hoinkis <simon.hoinkis@codethink.co.uk>2015-03-19 14:50:08 +0000
committerRichard Dale <richard.dale@codethink.co.uk>2015-05-19 16:56:06 +0100
commitbb14cfdb9d2358ec663926f080118685c629bef7 (patch)
tree894ac63beda64ccf9d66d5f1e61792cc5d430f45 /strata/cpe-wrt/ubus.morph
parentd2501ac90d1841ab85f57ef58790d2328253fe41 (diff)
downloaddefinitions-bb14cfdb9d2358ec663926f080118685c629bef7.tar.gz
Update various OpenWrt packages
* OpenWrt (base-files): Search and replace 'export -n' with 'export' in lib/functions/preinit.sh * procd: Install the binaries in /sbin * fstools: Install the binaries in /sbin * uci, ubox, ubus, firewall3: Create the correct symlinks in /bin * Busybox: Change to a repository which includes OpenWrt patches and delete the false sed command TODO: * Complete the adding of iwinfo for rpcd * Busybox build
Diffstat (limited to 'strata/cpe-wrt/ubus.morph')
-rw-r--r--strata/cpe-wrt/ubus.morph13
1 files changed, 13 insertions, 0 deletions
diff --git a/strata/cpe-wrt/ubus.morph b/strata/cpe-wrt/ubus.morph
index 245a51b6..d5ed234a 100644
--- a/strata/cpe-wrt/ubus.morph
+++ b/strata/cpe-wrt/ubus.morph
@@ -1,5 +1,18 @@
name: ubus
kind: chunk
+build-commands:
+- cmake -DCMAKE_INSTALL_PREFIX=$PREFIX
+- make
+
install-commands:
- make install
+
+post-install-commands:
+- |
+ install -d "$DESTDIR/sbin"
+ cd "$DESTDIR/sbin"
+ ln -s ../usr/sbin/ubusd ubusd
+ install -d "$DESTDIR/bin"
+ cd "$DESTDIR/bin"
+ ln -s ../usr/bin/ubus ubus