From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 30 Aug 2022 09:15:24 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oSvT2-001TQV-ND for lore@lore.pengutronix.de; Tue, 30 Aug 2022 09:15:24 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1oSvT2-0006zo-2G; Tue, 30 Aug 2022 09:15:24 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oSvSp-0006z4-GD; Tue, 30 Aug 2022 09:15:11 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1oSvSo-002pEx-GQ; Tue, 30 Aug 2022 09:15:10 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1oSvSn-001nOD-EE; Tue, 30 Aug 2022 09:15:09 +0200 Date: Tue, 30 Aug 2022 09:15:09 +0200 From: Michael Olbrich To: Bruno Thomsen Message-ID: Mail-Followup-To: Bruno Thomsen , ptxdist@pengutronix.de References: <20220825050013.3374-1-bruno.thomsen@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220825050013.3374-1-bruno.thomsen@gmail.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [ptxdist] [PATCH] kernel mirror url updated X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On Thu, Aug 25, 2022 at 07:00:13AM +0200, Bruno Thomsen wrote: > Downloading packages from kernel.org mirror result in http code 301 > Moved Permanently from server. Update used URL to match redirect URL. > > --2022-08-24 08:58:18-- https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.65.tar.xz > Resolving www.kernel.org (www.kernel.org)... 145.40.68.75, 2604:1380:4601:e00::1 > Connecting to www.kernel.org (www.kernel.org)|145.40.68.75|:443... connected. > HTTP request sent, awaiting response... 301 Moved Permanently > Location: https://mirrors.edge.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.65.tar.xz [following] > --2022-08-24 08:58:18-- https://mirrors.edge.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.65.tar.xz > Resolving mirrors.edge.kernel.org (mirrors.edge.kernel.org)... 147.75.80.249, 2604:1380:4601:e00::3 > Connecting to mirrors.edge.kernel.org (mirrors.edge.kernel.org)|147.75.80.249|:443... connected. > HTTP request sent, awaiting response... 200 OK Hmmm, so https://www.kernel.org/ still has https://www.kernel.org/pub/ as the official URL, so I'd like to keep it in the list. I checked the other URLs and http://mirror.linux.org.au/linux is gone (just a Debian mirror now from what I can see). And for http://www.linux-mips.org/pub/linux/mips the certificate is expired. So maybe: default "https://mirrors.edge.kernel.org/pub/linux https://www.kernel.org/pub/linux" > > Signed-off-by: Bruno Thomsen > --- > Not sure how to regenerate config/setup/ptxdistrc.default For stuff like that I just manually update the file. Please do that as well. Michael > > config/setup/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/config/setup/Kconfig b/config/setup/Kconfig > index 8f6a60eac..77a231d29 100644 > --- a/config/setup/Kconfig > +++ b/config/setup/Kconfig > @@ -160,7 +160,7 @@ config SETUP_GNUMIRROR > > config SETUP_KERNELMIRROR > string > - default "https://www.kernel.org/pub/linux http://www.linux-mips.org/pub/linux/mips http://mirror.linux.org.au/linux" > + default "https://mirrors.edge.kernel.org/pub/linux http://www.linux-mips.org/pub/linux/mips http://mirror.linux.org.au/linux" > prompt "kernel.org Mirror" > help > For all kernel.org related packages enter an available mirror here. > > base-commit: bdb6f5f98505a13dbeffda3dfdea4a4f3bf586c6 > -- > 2.37.2 > > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |