Merge pull request #42 from pfelecan/d_i

Include debian-installer components into the mirroring.
pull/51/head
Brandon Holtsclaw 7 years ago
commit f901d7f56e
  1. 5
      apt-mirror

@ -427,6 +427,10 @@ 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" );
}
}
@ -752,6 +756,7 @@ 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