diff options
author | PMR <pmr@pmr-lander> | 2017-07-18 08:29:24 +0000 |
---|---|---|
committer | PMR <pmr@pmr-lander> | 2017-07-18 08:29:24 +0000 |
commit | 52d420043c8680ca76653e4b5e661df73228f168 (patch) | |
tree | 30dff08936f301febebae77a74573f267d6d3b36 | |
parent | bdfca11de6c0670b49f759f3162bd5643a7fa1b2 (diff) | |
parent | 0d1361737f52976de4b90675178a233fbd41f5f1 (diff) |
Merge #327590 from ~sylvain-pineau/plainbox-provider-checkbox:fix-1703791-1704093
-rwxr-xr-x | bin/bt_connect | 2 | ||||
-rw-r--r-- | jobs/suspend.txt.in | 24 |
2 files changed, 25 insertions, 1 deletions
diff --git a/bin/bt_connect b/bin/bt_connect index b52642a..1fed30e 100755 --- a/bin/bt_connect +++ b/bin/bt_connect @@ -23,7 +23,7 @@ import sys import time -import checkbox_support.bt_helper +import checkbox_support.bt_helper as bt_helper from argparse import ArgumentParser diff --git a/jobs/suspend.txt.in b/jobs/suspend.txt.in index 64c05f1..a267a21 100644 --- a/jobs/suspend.txt.in +++ b/jobs/suspend.txt.in @@ -2223,6 +2223,9 @@ category_id: com.canonical.plainbox::suspend id: suspend/mmc-insert-after-suspend estimated_duration: 30.0 depends: suspend/suspend_advanced +requires: + package.name == 'udisks2' or snap.name == 'udisks2' + device.category == 'CARDREADER' command: removable_storage_watcher --memorycard insert sdio usb scsi _description: PURPOSE: @@ -2270,6 +2273,9 @@ category_id: com.canonical.plainbox::suspend id: suspend/sd-insert-after-suspend estimated_duration: 30.0 depends: suspend/suspend_advanced +requires: + package.name == 'udisks2' or snap.name == 'udisks2' + device.category == 'CARDREADER' command: removable_storage_watcher --memorycard insert sdio usb scsi _description: PURPOSE: @@ -2319,6 +2325,9 @@ category_id: com.canonical.plainbox::suspend id: suspend/sdhc-insert-after-suspend estimated_duration: 30.0 depends: suspend/suspend_advanced +requires: + package.name == 'udisks2' or snap.name == 'udisks2' + device.category == 'CARDREADER' command: removable_storage_watcher --memorycard insert sdio usb scsi _description: PURPOSE: @@ -2367,6 +2376,9 @@ category_id: com.canonical.plainbox::suspend id: mediacard/cf-insert-after-suspend estimated_duration: 30.0 depends: suspend/suspend_advanced +requires: + package.name == 'udisks2' or snap.name == 'udisks2' + device.category == 'CARDREADER' command: removable_storage_watcher --memorycard insert sdio usb scsi _description: PURPOSE: @@ -2414,6 +2426,9 @@ category_id: com.canonical.plainbox::suspend id: mediacard/sdxc-insert-after-suspend estimated_duration: 30.0 depends: suspend/suspend_advanced +requires: + package.name == 'udisks2' or snap.name == 'udisks2' + device.category == 'CARDREADER' command: removable_storage_watcher --memorycard insert sdio usb scsi _description: PURPOSE: @@ -2461,6 +2476,9 @@ category_id: com.canonical.plainbox::suspend id: mediacard/ms-insert-after-suspend estimated_duration: 30.0 depends: suspend/suspend_advanced +requires: + package.name == 'udisks2' or snap.name == 'udisks2' + device.category == 'CARDREADER' command: removable_storage_watcher --memorycard insert sdio usb scsi _description: PURPOSE: @@ -2508,6 +2526,9 @@ category_id: com.canonical.plainbox::suspend id: mediacard/msp-insert-after-suspend estimated_duration: 30.0 depends: suspend/suspend_advanced +requires: + package.name == 'udisks2' or snap.name == 'udisks2' + device.category == 'CARDREADER' command: removable_storage_watcher --memorycard insert sdio usb scsi _description: PURPOSE: @@ -2555,6 +2576,9 @@ category_id: com.canonical.plainbox::suspend id: mediacard/xd-insert-after-suspend estimated_duration: 30.0 depends: suspend/suspend_advanced +requires: + package.name == 'udisks2' or snap.name == 'udisks2' + device.category == 'CARDREADER' command: removable_storage_watcher --memorycard insert sdio usb scsi _description: PURPOSE: |