diff options
author | Lukas Waymann <lukas.waymann@canonical.com> | 2020-11-04 16:47:44 +0800 |
---|---|---|
committer | Lukas Waymann <lukas.waymann@canonical.com> | 2020-11-04 16:48:21 +0800 |
commit | daf3e6d708985340b8695d8a1a460f61841d286d (patch) | |
tree | 478ae59cd3ebc09bb0793771b363ddf04541aeac | |
parent | 41ef34811c08df2d0b78082dc341fa622e876ce7 (diff) |
Add `imports` fields so that `manifest.has_usb_storage` can be used
-rw-r--r-- | units/usb/usb.pxu | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/units/usb/usb.pxu b/units/usb/usb.pxu index b73d36c..f9e45da 100644 --- a/units/usb/usb.pxu +++ b/units/usb/usb.pxu @@ -240,6 +240,7 @@ user: root estimated_duration: 45.0 command: removable_storage_test.py -l usb && timeout 300 removable_storage_test.py -s 268400000 usb flags: also-after-suspend preserve-cwd +imports: from com.canonical.plainbox import manifest requires: cpuinfo.platform != 's390x' package.name == 'udisks2' or snap.name == 'udisks2' @@ -257,6 +258,7 @@ category_id: com.canonical.plainbox::usb id: usb3/storage-preinserted user: root flags: also-after-suspend +imports: from com.canonical.plainbox import manifest requires: cpuinfo.platform != 's390x' usb.usb3 == 'supported' |