From 4789e1f73990eb93f705d2f7c486d606c9e5611c Mon Sep 17 00:00:00 2001 From: mid-kid Date: Thu, 14 Nov 2024 14:06:19 +0100 Subject: [PATCH] Add optional fetchcommand export --- gentoo-2024.8/gentoo.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gentoo-2024.8/gentoo.txt b/gentoo-2024.8/gentoo.txt index 569e46b..2a2cb4f 100644 --- a/gentoo-2024.8/gentoo.txt +++ b/gentoo-2024.8/gentoo.txt @@ -115,6 +115,9 @@ FETCHCOMMAND="$FETCHCOMMAND" MAKEOPTS=-j1 ./portage/bin/emerge -O1 app-arch/lzip FETCHCOMMAND="$FETCHCOMMAND" MAKEOPTS=-j1 ./portage/bin/emerge -O1 dev-build/make FETCHCOMMAND="$FETCHCOMMAND" ./portage/bin/emerge -O1 net-misc/wget +# optional: Allow retrieving files when removed from the HTTP distfiles mirrors +export FETCHCOMMAND='wget --no-check-certificate -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}"' + # Upgrade python so we can use it to cross-compile later on ./portage/bin/emerge -O1 dev-build/autoconf-wrapper ./portage/bin/emerge -O1 dev-build/autoconf