From 84cd4a5da2316c2878352b7a86fba2b4f5d9584f Mon Sep 17 00:00:00 2001 From: baconyao Date: Tue, 30 Apr 2024 10:44:26 +0800 Subject: [PATCH] Revert the requires criteria --- providers/base/units/image/jobs.pxu | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/providers/base/units/image/jobs.pxu b/providers/base/units/image/jobs.pxu index 1db7a0aede..d5aa7d4bb8 100644 --- a/providers/base/units/image/jobs.pxu +++ b/providers/base/units/image/jobs.pxu @@ -2,8 +2,6 @@ id: image/kernel-publisher-canonical category_id: image _summary: Check that the kernel snap publisher is Canonical -requires: - lsb.distributor_id == "Ubuntu Core" and int(lsb.release) >= 20 _description: During certification testing IoT devices must be running a kernel supplied by Canonical @@ -16,8 +14,6 @@ flags: preserve-locale id: image/kernel-tracking-stable category_id: image _summary: Check that the kernel snap is tracking stable channel -requires: - lsb.distributor_id == "Ubuntu Core" and int(lsb.release) >= 20 _description: During certification testing IoT devices must be running a kernel that is on a stable channel @@ -30,8 +26,6 @@ flags: preserve-locale id: image/gadget-publisher-canonical category_id: image _summary: Check that the gadget snap publisher is Canonical -requires: - lsb.distributor_id == "Ubuntu Core" and int(lsb.release) >= 20 _description: During certification testing IoT devices must be running a kernel supplied by Canonical @@ -44,8 +38,6 @@ flags: preserve-locale id: image/gadget-tracking-stable category_id: image _summary: Check that the gadget snap is tracking stable channel -requires: - lsb.distributor_id == "Ubuntu Core" and int(lsb.release) >= 20 _description: During certification testing IoT devices must be running a gadget that is on a stable channel @@ -58,8 +50,6 @@ flags: preserve-locale id: image/model-authority-canonical category_id: image _summary: Check that model authority-id is canonical -requires: - lsb.distributor_id == "Ubuntu Core" and int(lsb.release) >= 20 _description: The authority-id declares on whose authority this assertion is made. This must be Canonical for the certification of IoT devices. @@ -72,8 +62,6 @@ flags: preserve-locale id: image/model-brand-canonical category_id: image _summary: Check the model brand-id is canoncial -requires: - lsb.distributor_id == "Ubuntu Core" and int(lsb.release) >= 20 _description: For the certification of IoT devices canonical provided generic images must be used. Hence, the brand-id must be canonical.