From e1b6dfa483fe13464fb947b069114943eb95984b Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 12 Jun 2018 15:07:10 +0000 Subject: init: dont install wget ssl_client provides the https support for busybox wget --- initramfs-init.in | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'initramfs-init.in') 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" -- cgit v1.2.3