summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Hoinkis <simon.hoinkis@codethink.co.uk>2015-03-17 17:16:56 +0000
committerRichard Dale <richard.dale@codethink.co.uk>2015-05-19 16:56:06 +0100
commitd2501ac90d1841ab85f57ef58790d2328253fe41 (patch)
tree7461fb6aada56643d4882a8c1c788a9155775882
parent9e580d1d5f895a7f81cd3da40d834fc067ac06b9 (diff)
downloaddefinitions-d2501ac90d1841ab85f57ef58790d2328253fe41.tar.gz
Add lock applet to busybox and change the repo for OpenWrt
-rw-r--r--strata/build-essential/busybox.morph2
-rw-r--r--strata/cpe-wrt.morph2
-rw-r--r--strata/cpe-wrt/base-files.morph3
3 files changed, 6 insertions, 1 deletions
diff --git a/strata/build-essential/busybox.morph b/strata/build-essential/busybox.morph
index b5418bc0..d5f2e2f5 100644
--- a/strata/build-essential/busybox.morph
+++ b/strata/build-essential/busybox.morph
@@ -55,6 +55,8 @@ configure-commands:
- sed -e 's/# CONFIG_FEATURE_COMPRESS_BBCONFIG is not set/CONFIG_FEATURE_COMPRESS_BBCONFIG=y/' -i .config
- sed -e 's/# CONFIG_FEATURE_MOUNT_HELPERS is not set/CONFIG_FEATURE_MOUNT_HELPERS=y/' -i .config
+# Add lock for OpenWrt
+- sed -e 's/# CONFIG_FLASH_LOCK is not set/CONFIG_FLASH_LOCK=y/' -i .config
build-commands:
- make
diff --git a/strata/cpe-wrt.morph b/strata/cpe-wrt.morph
index e391a4f6..3c2aac79 100644
--- a/strata/cpe-wrt.morph
+++ b/strata/cpe-wrt.morph
@@ -102,7 +102,7 @@ chunks:
- ubus
- name: base-files
morph: strata/cpe-wrt/base-files.morph
- repo: git://git.openwrt.org/openwrt.git
+ repo: upstream:openwrt/openwrt
ref: HEAD
unpetrify-ref:
build-depends:
diff --git a/strata/cpe-wrt/base-files.morph b/strata/cpe-wrt/base-files.morph
index a0f5dc0f..b4ec3bb2 100644
--- a/strata/cpe-wrt/base-files.morph
+++ b/strata/cpe-wrt/base-files.morph
@@ -29,3 +29,6 @@ install-commands:
#ubox
- |
cp -r package/system/uci/files/* "$DESTDIR"/
+
+#lock symlink
+- ln -s busybox "$DESTDIR"/bin/lock