Skip to content

Commit

Permalink
Add comment about setopt in kernl_modules query
Browse files Browse the repository at this point in the history
  • Loading branch information
r0x0d authored and Venefilyn committed Aug 13, 2024
1 parent 6ca9ad6 commit ccf12a9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions convert2rhel/actions/pre_ponr_changes/kernel_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ def _get_rhel_supported_kmods(self):
"--releasever=%s" % system_info.releasever,
"--setopt=*.skip_if_unavailable=False",
]
# Clearing the exclude field with setopt to prevent kernel being
# excluded in the config.
# https://issues.redhat.com/browse/RHELC-774
basecmd = ["repoquery", "--releasever=%s" % system_info.releasever, "--setopt=exclude="]

if system_info.version.major >= 8:
Expand Down

0 comments on commit ccf12a9

Please sign in to comment.