From d2501ac90d1841ab85f57ef58790d2328253fe41 Mon Sep 17 00:00:00 2001 From: Simon Hoinkis Date: Tue, 17 Mar 2015 17:16:56 +0000 Subject: Add lock applet to busybox and change the repo for OpenWrt --- strata/build-essential/busybox.morph | 2 ++ strata/cpe-wrt.morph | 2 +- strata/cpe-wrt/base-files.morph | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1