comps-sync.py: Remove special case for kernel packages

This commit is contained in:
Timothée Ravier 2023-09-27 10:45:36 +02:00
parent cf4dcc7206
commit 06fcdac6f3
4 changed files with 5 additions and 11 deletions

View file

@ -1,12 +1,6 @@
# This file has a list of packages to skip from comps that we don't want, plus
# a few include listed things.
# For some reason today these are just in livecd-tools...
include_list:
- kernel
- kernel-modules
- kernel-modules-extra
# Entirely skip all packages in libreoffice
exclude_list_groups:
- libreoffice

View file

@ -100,7 +100,6 @@ manifest_packages = load_packages_from_manifest(manifest_path)
with open('comps-sync-exclude-list.yml', encoding='UTF-8') as f:
doc = yaml.safe_load(f)
comps_exclude_list = doc['exclude_list']
comps_include_list = doc['include_list']
comps_exclude_list_groups = doc['exclude_list_groups']
comps_desktop_exclude_list = doc['desktop_exclude_list']
comps_exclude_list_all = [re.compile(x) for x in doc['exclude_list_all_regexp']]
@ -135,8 +134,7 @@ for arch in manifest_packages:
else:
if pkg in ws_pkgs and arch in ws_pkgs[pkg][2]:
continue
if (pkg not in comps_include_list):
comps_unknown.add((pkg, arch))
comps_unknown.add((pkg, arch))
# Look for packages in the manifest but not in comps at all
n_manifest_new = len(comps_unknown)

View file

@ -95,8 +95,6 @@ packages:
- iwlwifi-dvm-firmware
- iwlwifi-mvm-firmware
- kbd
- kernel
- kernel-modules-extra
- less
- libertas-firmware
- libglvnd-gles

View file

@ -17,6 +17,10 @@ include: fedora-common-ostree-pkgs.yaml
# aarch64: bootupd.yaml
packages:
# Ensure that we have a kernel. Kernel packages are not in any comps group
- kernel
- kernel-modules
- kernel-modules-extra
# Do not include "full" Git as it brings in Perl
- git-core
# Explicitely add Git docs