changeset 1068:31f5258dc517

core/busybox: increase wget retry limit for sourceforge
author David Demelier <markand@malikania.fr>
date Mon, 02 Sep 2019 21:33:37 +0200
parents b2dc37af78e5
children f9e04b251abe
files core/busybox/busybox.sh
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/core/busybox/busybox.sh	Mon Sep 02 21:33:16 2019 +0200
+++ b/core/busybox/busybox.sh	Mon Sep 02 21:33:37 2019 +0200
@@ -76,6 +76,9 @@
 	# Our start script is located in /etc/rc.init.
 	sed -i -e 's|/etc/init.d/rcS|/etc/rc.init|' init/init.c
 
+	# Change the redirection limit which is too small for vpk download.
+	sed -i -e "/redir_limit = 5/ s/5/16/" networking/wget.c
+
 	make CC="$CC" HOSTCC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" CROSS_COMPILE=llvm-
 	install -Dm0755 busybox $DESTDIR/bin/busybox
 	install -dm0755 $DESTDIR/share/udhcp