[openwrt/openwrt] ramips: add encrypted SGE factory image for D-Link devices
LEDE Commits
lede-commits at lists.infradead.org
Mon Jan 8 12:14:57 PST 2024
blocktrron pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/af7ef781aca5c36b1b63460c852803cc3e5357bf
commit af7ef781aca5c36b1b63460c852803cc3e5357bf
Author: Alan Luck <luckyhome2008 at gmail.com>
AuthorDate: Wed Nov 8 09:10:35 2023 +1100
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 at gmail.com>
(cherry picked and adjusted from commit 4c0dc68f466588bb2ef60b29a4d8052b34112ca6)
Signed-off-by: Florian Maurer <f.maurer at outlook.de>
---
include/image-commands.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/image-commands.mk b/include/image-commands.mk
index dc6ee6e7c1..6666eddf8f 100644
--- a/include/image-commands.mk
+++ b/include/image-commands.mk
@@ -226,6 +226,11 @@ define Build/copy-file
cat "$(1)" > "$@"
endef
+define Build/dlink-sge-image
+ $(STAGING_DIR_HOST)/bin/dlink-sge-image $(1) $@ $@.enc
+ mv $@.enc $@
+endef
+
define Build/edimax-header
$(STAGING_DIR_HOST)/bin/mkedimaximg -i $@ -o $@.new $(1)
@mv $@.new $@
More information about the lede-commits
mailing list