diff options
author | Stifler <Stifler6996@users.noreply.github.com> | 2022-05-24 12:42:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-24 12:42:08 +0300 |
commit | c581211a1269faf4baf12f7f3c516cdc11c9f1a5 (patch) | |
tree | a4175d56d9a3b173516f2b2849205374f3730209 | |
parent | 3f290988228341c5e3cec79d79a25be95521c861 (diff) | |
parent | 3cbdd0c98d72d05993c5aa51ca445e545819ee9d (diff) |
Dont ignore Release file in /binary-${arch_regex}/
Release is needed for ipxe/netboot. This commit tidies my quick fix to only download Release and not just everything
-rwxr-xr-x | apt-mirror | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -566,7 +566,9 @@ sub find_metadata_in_release ) or ( $filename =~ m{^${component_regex}/Contents-${arch_regex}${compressed_extension_regex}} ) or ( - $filename =~ m{^${component_regex}/binary-${arch_regex}} #Need all files in this folder for netboot. + $filename =~ m{^${component_regex}/binary-${arch_regex}/Packages${compressed_extension_regex}} + ) or ( + $filename =~ m{^${component_regex}/binary-${arch_regex}/Release$} # Needed for netboot. ) or ( $filename =~ m{^${component_regex}/cnf/Commands-${arch_regex}${compressed_extension_regex}} ) or ( |