Revert "Include debian-installer components into the mirroring."

This reverts commit 591a52e67a.

The standard way to include the installation components is via the
mirror spec line, e.g.x

deb-amd64 http://us.archive.ubuntu.com/ubuntu wily main restricted universe multiverse main/debian-installer

This is a universal syntax, used by everybody in the same way. I think
it would be better not for apt-mirror to fetch things I didn't ask for,
and to simply continue it's current behavior of doing what it is asked
to do.

fixes #64
pull/39/merge
Benjamin Drung 6 years ago
parent a489c6d61f
commit 408721e8f0
  1. 5
      apt-mirror

@ -430,10 +430,6 @@ foreach (@config_binaries)
add_url_to_download( $url . $_ . "/binary-" . $arch . "/Packages.gz" );
add_url_to_download( $url . $_ . "/binary-" . $arch . "/Packages.bz2" );
add_url_to_download( $url . $_ . "/binary-" . $arch . "/Packages.xz" );
add_url_to_download( $url . $_ . "/debian-installer/binary-" . $arch . "/Release" );
add_url_to_download( $url . $_ . "/debian-installer/binary-" . $arch . "/Packages.gz" );
add_url_to_download( $url . $_ . "/debian-installer/binary-" . $arch . "/Packages.bz2" );
add_url_to_download( $url . $_ . "/debian-installer/binary-" . $arch . "/Packages.xz" );
add_url_to_download( $url . $_ . "/i18n/Index" );
}
}
@ -850,7 +846,6 @@ foreach (@config_binaries)
foreach $component (@components)
{
process_index_gz( $uri, "/dists/$distribution/$component/binary-$arch/Packages.gz" );
process_index_gz( $uri, "/dists/$distribution/$component/debian-installer/binary-$arch/Packages.gz" );
}
}
else

Loading…
Cancel
Save