diff options
author | Richard Dale <richard.dale@codethink.co.uk> | 2015-05-19 16:54:26 +0100 |
---|---|---|
committer | Richard Dale <richard.dale@codethink.co.uk> | 2015-05-19 16:56:06 +0100 |
commit | d908e5099f7c05c61ab4daea5849cd90f7cb5cf9 (patch) | |
tree | 3eef0826d462a055bf1291c9299a3250df76d7ce /strata/cpe-wrt/base-files.morph | |
parent | bdd8c2cd4f2a3f2c4240ff9d2509628aa6a0b616 (diff) | |
download | definitions-d908e5099f7c05c61ab4daea5849cd90f7cb5cf9.tar.gz |
The OpenWRT stratum 'cpe-wrt.morph' is built on top of 'core-wrt.morph'
Diffstat (limited to 'strata/cpe-wrt/base-files.morph')
-rw-r--r-- | strata/cpe-wrt/base-files.morph | 44 |
1 files changed, 20 insertions, 24 deletions
diff --git a/strata/cpe-wrt/base-files.morph b/strata/cpe-wrt/base-files.morph index 50ac95b8..297cf98d 100644 --- a/strata/cpe-wrt/base-files.morph +++ b/strata/cpe-wrt/base-files.morph @@ -7,27 +7,23 @@ pre-configure-commands: - sed -i "s/export -n/export/" package/base-files/files/lib/functions/preinit.sh install-commands: -# FHS directories -- | - cp -r package/base-files/files/* "$DESTDIR"/ - -# procd files -- install package/system/procd/files/hotplug.json "$DESTDIR"/etc/ -- install package/system/procd/files/hotplug-preinit.json "$DESTDIR"/etc/ -- install package/system/procd/files/reload_config "$DESTDIR"/sbin/ -- install package/system/procd/files/procd.sh "$DESTDIR"/lib/functions/ - -# netifd -- | - cp -r package/network/config/netifd/files/* "$DESTDIR"/ - -# ubox -- | - cp -r package/system/ubox/files/* "$DESTDIR"/etc/init.d/log - -# uci -- | - cp -r package/system/uci/files/* "$DESTDIR"/ - -# lock symlink -- ln -s busybox "$DESTDIR"/bin/lock +- cp -r package/base-files/files/* "$DESTDIR"/ + +- install package/system/procd/files/hotplug.json "$DESTDIR"/etc/ +- install package/system/procd/files/hotplug-preinit.json "$DESTDIR"/etc/ +- install package/system/procd/files/reload_config "$DESTDIR"/sbin/ +- install package/system/procd/files/procd.sh "$DESTDIR"/lib/functions/ + +- install -d $DESTDIR/etc/init.d +- install -d $DESTDIR/etc/rc.d +- cp -r package/network/config/netifd/files/* "$DESTDIR"/ +- install package/system/ubox/files/log.init "$DESTDIR"/etc/init.d/log +- cp -r package/system/uci/files/* "$DESTDIR"/ + +- install package/network/services/odhcpd/files/odhcpd.init "$DESTDIR"/etc/init.d/odhcpd +- install package/network/services/dnsmasq/files/dnsmasq.init "$DESTDIR"/etc/init.d/dnsmasq +- install package/network/services/dropbear/files/dropbear.init "$DESTDIR"/etc/init.d/dropbear +- install package/network/services/uhttpd/files/uhttpd.init "$DESTDIR"/etc/init.d/uhttpd +- install package/system/rpcd/files/rpcd.init "$DESTDIR"/etc/init.d/rpcd +- install package/system/mountd/files/mountd.init "$DESTDIR"/etc/init.d/mountd +- install package/network/config/firewall/files/firewall.init "$DESTDIR"/etc/init.d/firewall |