diff options
author | Jonathan Cave <jonathan.cave@canonical.com> | 2019-12-03 11:33:55 +0000 |
---|---|---|
committer | Jonathan Cave <jonathan.cave@canonical.com> | 2019-12-03 11:33:55 +0000 |
commit | 418d883dee67a2c0325b6cff84422a849c21e4d0 (patch) | |
tree | 3fc599595d8271440d85efb008b89e8055c5d21c /units/usb | |
parent | 1307b2c5606c04c52e639c931995b055c483362a (diff) |
usb: disk_detect requires udisks2 to be available
Diffstat (limited to 'units/usb')
-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 670f6495..ffc9f3cf 100644 --- a/units/usb/usb.pxu +++ b/units/usb/usb.pxu @@ -18,6 +18,8 @@ plugin: user-interact-verify category_id: com.canonical.plainbox::usb id: usb/disk_detect depends: usb/detect +requires: + package.name == 'udisks2' or snap.name == 'udisks2' estimated_duration: 1.0 command: removable_storage_test -l usb _description: |