diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-06-12 15:07:10 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-06-12 15:07:10 +0000 |
commit | e1b6dfa483fe13464fb947b069114943eb95984b (patch) | |
tree | ccd59be6db8f591c8ca7a5f91479b2a6b4de3436 | |
parent | c6d2818c536940c4e3f254009beb6d5426e2519c (diff) | |
download | mkinitfs-e1b6dfa483fe13464fb947b069114943eb95984b.tar.bz2 mkinitfs-e1b6dfa483fe13464fb947b069114943eb95984b.tar.xz |
init: dont install wget
ssl_client provides the https support for busybox wget
-rwxr-xr-x | initramfs-init.in | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/initramfs-init.in b/initramfs-init.in index 9816ab7..413fa1d 100755 --- a/initramfs-init.in +++ b/initramfs-init.in @@ -266,19 +266,6 @@ setup_nbd() { [ "$n" != 0 ] || return 1 } -# possible cmdline options which could have secure urls. -# this does not include apkovl as it need to be fetched inside of initramfs -need_wget() { - local opt= ret=1 - for opt in modloop ssh_key; do - eval "opt=\$KOPT_$opt" - case "$opt" in - https://*|ftps://*) ret=0;; - esac - done - return $ret -} - # read the kernel options. we need surve things like: # acpi_osi="!Windows 2006" xen-pciback.hide=(01:00.0) set -- $(cat /proc/cmdline) @@ -647,9 +634,6 @@ if [ -n "$KOPT_ssh_key" ]; then rc_add sshd default fi -# add wget if using secure urls in cmdline -need_wget && pkgs="$pkgs wget" - apkflags="--initramfs-diskless-boot --progress" if [ -z "$ALPINE_REPO" ]; then apkflags="$apkflags --no-network" |