Skip to content

Commit 1b95fa9

Browse files
author
Jeny Sadadia
committed
kver.jinja2: delete hack for kver failure
The hack was added as a temporary fix for `kver` job. As now the actual fix has been sent to the API, drop the hack from the job template. Signed-off-by: Jeny Sadadia <jeny.sadadia@collabora.com>
1 parent 8b50bf2 commit 1b95fa9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

config/pipeline.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ build_configs:
475475
tree: mainline
476476
branch: 'master'
477477
variants: *build-variants
478-
478+
479479
stable-rc_4.19: &stable-rc
480480
tree: stable-rc
481481
branch: 'linux-4.19.y'

config/runtime/kver.jinja2

+3-3
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ class Job(BaseJob):
5151
return False
5252

5353
return (
54-
int(kver['version']) == mkver['VERSION'] and
55-
int(kver['patchlevel']) == mkver['PATCHLEVEL'] and (
54+
kver['version'] == mkver['VERSION'] and
55+
kver['patchlevel'] == mkver['PATCHLEVEL'] and (
5656
not mkver['SUBLEVEL'] or
57-
int(kver['sublevel']) == mkver['SUBLEVEL']
57+
kver['sublevel'] == mkver['SUBLEVEL']
5858
) and (
5959
not mkver['EXTRAVERSION'] or
6060
kver['extra'].startswith(mkver['EXTRAVERSION'])

0 commit comments

Comments
 (0)