Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Stifler6996/apt-mirror.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStifler <Stifler6996@users.noreply.github.com>2022-05-24 12:42:08 +0300
committerGitHub <noreply@github.com>2022-05-24 12:42:08 +0300
commitc581211a1269faf4baf12f7f3c516cdc11c9f1a5 (patch)
treea4175d56d9a3b173516f2b2849205374f3730209
parent3f290988228341c5e3cec79d79a25be95521c861 (diff)
parent3cbdd0c98d72d05993c5aa51ca445e545819ee9d (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-xapt-mirror4
1 files changed, 3 insertions, 1 deletions
diff --git a/apt-mirror b/apt-mirror
index f61676b..0c52b0b 100755
--- a/apt-mirror
+++ b/apt-mirror
@@ -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 (