diff options
-rw-r--r-- | strata/build-essential/busybox.morph | 2 | ||||
-rw-r--r-- | strata/cpe-wrt.morph | 2 | ||||
-rw-r--r-- | strata/cpe-wrt/base-files.morph | 3 |
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 |