Skip to content

Commit 9df5d25

Browse files
committed
Exclude um as special case, kernel might be missing
Signed-off-by: Denys Fedoryshchenko <[email protected]>
1 parent f9178b2 commit 9df5d25

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

kernelci/kbuild.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1185,7 +1185,10 @@ def submit(self, retcode, dry_run=False):
11851185
# This is second line of defense against kernel build failure,
11861186
# if 'kernel' is not in artifacts, we assume it is a failure
11871187
# but keep in mind dtbs_check can be run without kernel
1188-
if 'kernel' not in af_uri and not self._dtbs_check and job_result == 'pass':
1188+
# um also special case, but need investigation
1189+
if 'kernel' not in af_uri and not self._dtbs_check \
1190+
and job_result == 'pass' \
1191+
and self._arch != 'um':
11891192
self.submit_failure("Kernel image not found in artifacts", af_uri)
11901193

11911194
if job_result == 'pass':

0 commit comments

Comments
 (0)