Skip to content

Commit

Permalink
config/runtime/kver: workaround for kver job failure
Browse files Browse the repository at this point in the history
This is a temporary fix until the actual fixes are
in place in the API.

Signed-off-by: Jeny Sadadia <[email protected]>
  • Loading branch information
Jeny Sadadia authored and nuclearcat committed Feb 9, 2024
1 parent 6fca51e commit ba21714
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/runtime/kver.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ class Job(BaseJob):
return False

return (
kver['version'] == mkver['VERSION'] and
kver['patchlevel'] == mkver['PATCHLEVEL'] and (
int(kver['version']) == mkver['VERSION'] and
int(kver['patchlevel']) == mkver['PATCHLEVEL'] and (
not mkver['SUBLEVEL'] or
kver['sublevel'] == mkver['SUBLEVEL']
int(kver['sublevel']) == mkver['SUBLEVEL']
) and (
not mkver['EXTRAVERSION'] or
kver['extra'].startswith(mkver['EXTRAVERSION'])
Expand Down

0 comments on commit ba21714

Please sign in to comment.