mirror of
https://github.com/hzyitc/openwrt-redmi-ax3000.git
synced 2025-12-17 00:42:53 +00:00
ramips: add encrypted SGE factory image for D-Link devices
creates SGE encrypted factory images
to use via the D-Link web interface
rename the old factory unencrypted images to recovery
for use in the recovery console when recovery is needed
adjusted to not touch unrelated devices
Signed-off-by: Alan Luck <luckyhome2008@gmail.com>
(cherry picked and adjusted from commit 4c0dc68f46)
Signed-off-by: Florian Maurer <f.maurer@outlook.de>
This commit is contained in:
parent
67d998e25d
commit
af7ef781ac
@ -226,6 +226,11 @@ define Build/copy-file
|
|||||||
cat "$(1)" > "$@"
|
cat "$(1)" > "$@"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Build/dlink-sge-image
|
||||||
|
$(STAGING_DIR_HOST)/bin/dlink-sge-image $(1) $@ $@.enc
|
||||||
|
mv $@.enc $@
|
||||||
|
endef
|
||||||
|
|
||||||
define Build/edimax-header
|
define Build/edimax-header
|
||||||
$(STAGING_DIR_HOST)/bin/mkedimaximg -i $@ -o $@.new $(1)
|
$(STAGING_DIR_HOST)/bin/mkedimaximg -i $@ -o $@.new $(1)
|
||||||
@mv $@.new $@
|
@mv $@.new $@
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user