From 3325e6c325bc1e309e366f16216e6573b4cc9b40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Thu, 5 Dec 2024 10:15:00 +0100 Subject: [PATCH] partially-fix #5958: doc: add additional example for debug packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit our repositories don't override their section to debug, and they can get quite big.. Signed-off-by: Fabian Grünbichler --- 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.