Skip to content
Snippets Groups Projects
Commit 97fee953 authored by Jarod Wilson's avatar Jarod Wilson
Browse files

configshook: use dist-configs-check to process fedora configs too


On kernel-ark, we've not been generating end-result diffs for Fedora
kernel config files, since we've only been running make dist-configs,
instead of make dist-configs-check. Switch it up so we report the Fedora
specific changes too.

Signed-off-by: Jarod Wilson's avatarJarod Wilson <jarod@redhat.com>
parent b6fa5c15
No related branches found
No related tags found
1 merge request!1744configshook: use dist-configs-check to process fedora configs too
...@@ -94,8 +94,8 @@ def get_config_change(path: str) -> tuple[str, str]: ...@@ -94,8 +94,8 @@ def get_config_change(path: str) -> tuple[str, str]:
def make_dist_configs(cwd: str) -> str | None: def make_dist_configs(cwd: str) -> str | None:
"""Run `make dist-configs` and return the resulting stdout, or None if the command failed.""" """Run `make dist-configs-check` and return resulting stdout, or None if the command failed."""
cmd = 'make dist-configs' cmd = 'make dist-configs-check'
result = subprocess.run(cmd.split(), cwd=cwd, capture_output=True, text=True, check=False) result = subprocess.run(cmd.split(), cwd=cwd, capture_output=True, text=True, check=False)
if result.returncode != 0: if result.returncode != 0:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment