[pve-devel] [PATCH proxmox-offline-mirror] partially-fix #5958: doc: add additional example for debug packages

Fabian Grünbichler f.gruenbichler at proxmox.com
Thu Dec 5 10:15:00 CET 2024


our repositories don't override their section to debug, and they can get quite
big..

Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 docs/offline-mirror.rst | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/docs/offline-mirror.rst b/docs/offline-mirror.rst
index 1ae56e7..d4a8c1f 100644
--- a/docs/offline-mirror.rst
+++ b/docs/offline-mirror.rst
@@ -82,6 +82,17 @@ Some examples for packages and section filters:
 - `--skip-sections 'games'` - filter sections containing game packages
 - `--skip-sections 'debug'` - filter sections containing debug information
 
+If you want to skip all debugging related packages (which might not always be
+in the `debug` section mentioned in the example above), the following set of
+filters should work:
+
+.. code-block::
+
+ --skip-packages *-dbgsym \
+ --skip-packages *-dbg \
+ --skip-packages *-debug \
+ --skip-sections debug
+
 Please refer to https://packages.debian.org/bookworm/ for a list of Debian archive sections and
 their contents.
 
-- 
2.39.5





More information about the pve-devel mailing list