From bc87e8bfdd9fdd433234e63c78e434c408761131 Mon Sep 17 00:00:00 2001 From: Kristin Chuang Date: Thu, 18 Mar 2021 13:00:37 +0800 Subject: Change: modify image/model-grade-not-dangerous' 'requires' field --- units/image/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/units/image/jobs.pxu b/units/image/jobs.pxu index c1ee197..2cbbff5 100644 --- a/units/image/jobs.pxu +++ b/units/image/jobs.pxu @@ -75,7 +75,7 @@ id: image/model-grade-not-dangerous category_id: image summary: Check that the model grade is not missing or set to dangerous requires: - lsb.release >= '20' and lsb.distributor_id == "Ubuntu Core" + lsb.distributor_id == "Ubuntu Core" and int(lsb.release) >= 20 description: Images with the 'dangerous' grade (the lowest of all available grades) results in certain security measures to be relaxed. -- cgit v1.2.3