Also add linux-restricted-modules to "don't remove cruft" list

We missed that in the previous commit, these are the only inconsistent
packages left.
This commit is contained in:
Julian Andres Klode 2025-06-30 19:57:05 +02:00
parent 06cdb543c5
commit 063b34aa55

View File

@ -360,7 +360,7 @@ def old_libraries(mi_factory, suite_info, outofsync_arches=frozenset()):
for pkg_name in binaries_t[arch]:
pkg = binaries_t[arch][pkg_name]
# FIXME: If linux-meta packages are old we break the suite consistency.
if pkg.source.startswith("linux-meta"):
if pkg.source.startswith("linux-meta") or pkg.source.startswith("linux-restricted-modules"):
continue
if sources_t[pkg.source].version != pkg.source_version and \
(arch not in outofsync_arches or pkg_name not in binaries_s[arch]):