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 <jeny.sadadia@collabora.com>
  • Loading branch information
Jeny Sadadia committed Feb 9, 2024
1 parent aa0bd3a commit 817fb2c
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 817fb2c

Please sign in to comment.