Skip to content

Commit

Permalink
Add kernel-* packages to the repoclosure false positives & allowed_pa…
Browse files Browse the repository at this point in the history
…ckages
  • Loading branch information
dcermak authored and dirkmueller committed Dec 21, 2023
1 parent f9f5716 commit 1f68698
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tests/test_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
"typelib-1_0-Gtk-4_0",
"python311-aiohttp",
"python311-libcst",
"kernel-default-devel",
"podman"
]
if OS_SP_VERSION >= 4
else []
Expand All @@ -59,10 +61,11 @@
#: Packages that have broken dependencies by intention and should be excluded
#: from the repoclosure checks
KNOWN_BROKEN = [
#: aaa_base requires 'distribution-release', which is provided by `sles-release`.
#: aaa_base and kernel-rt_debug require 'distribution-release', which is
#: provided by `sles-release`.
#: However, `sles-release` is not in the repository, as we do not want
#: people to be able to build their own SLES from the SLE_BCI repo alone.
"aaa_base"
"aaa_base",
]


Expand Down Expand Up @@ -163,6 +166,9 @@ def test_sle_bci_forbidden_packages(container_per_test):
f"kernel-azure-devel.{LOCALHOST.system_info.arch}",
"kernel-devel-azure.noarch",
"kernel-macros.noarch",
f"kernel-default-devel.{LOCALHOST.system_info.arch}",
"kernel-devel.noarch",
f"kernel-syms.{LOCALHOST.system_info.arch}",
f"kernel-syms-azure.{LOCALHOST.system_info.arch}",
]

Expand Down

0 comments on commit 1f68698

Please sign in to comment.