diff options
author | Stifler <Stifler6996@users.noreply.github.com> | 2022-05-23 11:13:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-23 11:13:02 +0300 |
commit | 3f290988228341c5e3cec79d79a25be95521c861 (patch) | |
tree | 91625091b9c314a692551885f03d267bb779b424 | |
parent | 0bd3bb1e32ad551ea0ce726416156bcf983867af (diff) |
Release file (uncompressed) main/binary-${arch}
The files inside /main/binary-amd64 (and others) are all required in order for netboot to work. The "Release" file describes the folders arch and other details.
It does not affect normal mirror operations such as apt update or apt install.
```
Archive: stable
Origin: Debian
Label: Debian
Version: 11.3
Acquire-By-Hash: yes
Component: main
Architecture: amd64
```
We might need more work regarding this problem: https://github.com/chutzimir/apt-mirror/commit/2ac9a69498bbb98dfc5a47092e5c7ec097a3dd91
This commit has been tested and confirmed to work with Ubuntu Focal, which can be netbooted and installed directly from a local mirror. It should therefore work for Debian as well, but I have not tested (would like to test specifically with Bullseye to start with).
-rwxr-xr-x | apt-mirror | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -566,7 +566,7 @@ sub find_metadata_in_release ) or ( $filename =~ m{^${component_regex}/Contents-${arch_regex}${compressed_extension_regex}} ) or ( - $filename =~ m{^${component_regex}/binary-${arch_regex}/Packages${compressed_extension_regex}} + $filename =~ m{^${component_regex}/binary-${arch_regex}} #Need all files in this folder for netboot. ) or ( $filename =~ m{^${component_regex}/cnf/Commands-${arch_regex}${compressed_extension_regex}} ) or ( |