Ticket #24921: fix-kernel-org-mirrors.patch

File fix-kernel-org-mirrors.patch, 553 bytes (added by buzzer13, 11 months ago)

Fix mirrors list

  • scripts/download.pl

    diff --git a/scripts/download.pl b/scripts/download.pl
    index 111d03c633..62c118c946 100755
    a b foreach my $mirror (@ARGV) { 
    177177                        push @extra, "$extra[0]/longterm/v$1"; 
    178178                }                
    179179                foreach my $dir (@extra) { 
    180                         push @mirrors, "ftp://ftp.all.kernel.org/pub/$dir"; 
    181                         push @mirrors, "http://ftp.all.kernel.org/pub/$dir"; 
     180                        push @mirrors, "https://www.kernel.org/pub/$dir"; 
    182181                } 
    183182    } elsif ($mirror =~ /^\@GNOME\/(.+)$/) { 
    184183                push @mirrors, "http://ftp.gnome.org/pub/GNOME/sources/$1";