summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSalvatore Bonaccorso <carnil@debian.org>2023-02-03 18:47:54 +0100
committerSalvatore Bonaccorso <carnil@debian.org>2023-02-04 11:26:51 +0100
commitf38abb2f98650531ffacdd3241ddc872925cae61 (patch)
tree42387262d7b0767726d6a8600dd46a0234d87deb /Makefile
parentcc99c2fc7fb2b2888e1d1bb3bedb2f978b0e36b0 (diff)
Makefile: Do not hardcode archive areas to fetch from
Use the list of archive areas depending on the Debian release affected. Link: https://bugs.debian.org/1030321 Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 508cf80091..f866264939 100644
--- a/Makefile
+++ b/Makefile
@@ -48,7 +48,8 @@ update-$(1):
prefix="$$($(1)_RELEASE)_$$($(1)_SUBRELEASE)"; \
dist="$$($(1)_DIST)"; \
mirror="$$($(1)_MIRROR)"; \
- for section in main contrib non-free ; do \
+ sections="$$($(1)_SECTIONS)"; \
+ for section in main $$$$sections ; do \
bin/apt-update-file \
$$$$mirror/dists/$$$$dist/$$$$section/source/Sources \
data/packages/$$$${prefix}_$$$${section}_Sources ; \

© 2014-2024 Faster IT GmbH | imprint | privacy policy