From f7a97a21f77bcc339c5b5d75d426c428324be6b8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20=C5=A0tetiar?= Date: Fri, 9 Nov 2018 08:25:41 +0100 Subject: [PATCH] base-files: sysupgrade: Allow downloading of firmware images using HTTPS MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Currently it's only possible to download images over HTTP. Signed-off-by: Petr Å tetiar (backported from 7c104a83589c3e3fbfdfda2ef68b8695f57dde75) --- package/base-files/files/sbin/sysupgrade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade index 3637943117..b75bd097f3 100755 --- a/package/base-files/files/sbin/sysupgrade +++ b/package/base-files/files/sbin/sysupgrade @@ -204,7 +204,8 @@ type platform_check_image >/dev/null 2>/dev/null || { } case "$IMAGE" in - http://*) + http://*|\ + https://*) wget -O/tmp/sysupgrade.img "$IMAGE" IMAGE=/tmp/sysupgrade.img ;; -- 2.30.2