From f38abb2f98650531ffacdd3241ddc872925cae61 Mon Sep 17 00:00:00 2001 From: Salvatore Bonaccorso Date: Fri, 3 Feb 2023 18:47:54 +0100 Subject: 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 --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 ; \ -- cgit v1.2.3