Skip to content

Commit

Permalink
[RHELC-772] checks: Omit exclude= options from repoquery (#641)
Browse files Browse the repository at this point in the history
  • Loading branch information
PicklesMcDougan authored and Venefilyn committed Jun 19, 2023
1 parent 757ba62 commit 2e6945f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion convert2rhel/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ def is_loaded_kernel_latest():
logger.warning("Skipping the check as no internet connection has been detected.")
return

cmd = ["repoquery", "--quiet", "--qf", '"%{BUILDTIME}\\t%{VERSION}-%{RELEASE}\\t%{REPOID}"']
cmd = ["repoquery", '--setopt=exclude=""', "--quiet", "--qf", '"%{BUILDTIME}\\t%{VERSION}-%{RELEASE}\\t%{REPOID}"']

# If the reposdir variable is not empty, meaning that it detected the hardcoded repofiles, we should use that
# instead of the system repositories located under /etc/yum.repos.d
Expand Down

0 comments on commit 2e6945f

Please sign in to comment.