base-files: sysupgrade: Allow downloading of firmware images using HTTPS
Currently it's only possible to download images over HTTP. Signed-off-by: Petr Štetiar <ynezz@true.cz>
This commit is contained in:
parent
7ef38e42c8
commit
7c104a8358
1 changed files with 2 additions and 1 deletions
|
@ -203,7 +203,8 @@ type platform_check_image >/dev/null 2>/dev/null || {
|
||||||
}
|
}
|
||||||
|
|
||||||
case "$IMAGE" in
|
case "$IMAGE" in
|
||||||
http://*)
|
http://*|\
|
||||||
|
https://*)
|
||||||
wget -O/tmp/sysupgrade.img "$IMAGE"
|
wget -O/tmp/sysupgrade.img "$IMAGE"
|
||||||
IMAGE=/tmp/sysupgrade.img
|
IMAGE=/tmp/sysupgrade.img
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue