summaryrefslogtreecommitdiff
path: root/jobs
diff options
authorPMR <pmr@pmr-lander>2017-07-07 09:20:29 +0000
committerPMR <pmr@pmr-lander>2017-07-07 09:20:29 +0000
commitb815c58410017a57c0fee9d6f8102b1a444393d7 (patch)
treef41ce9ab545422782bbe3a1f9eba3bfcbad565cb /jobs
parentc2c64eb1617a5b6584add1401f6d72113d13e0d6 (diff)
parenta70c97fd5bf7cab7826253c15f4d5b4f1f88e079 (diff)
Merge #326991 from ~sylvain-pineau/plainbox-provider-checkbox:fix-1701226
Diffstat (limited to 'jobs')
-rw-r--r--jobs/input.txt.in14
-rw-r--r--jobs/miscellanea.txt.in2
2 files changed, 2 insertions, 14 deletions
diff --git a/jobs/input.txt.in b/jobs/input.txt.in
index b1cbe61..0bf880d 100644
--- a/jobs/input.txt.in
+++ b/jobs/input.txt.in
@@ -41,24 +41,12 @@ _description:
VERIFICATION:
Is your keyboard working properly?
-plugin: manual
-category_id: com.canonical.plainbox::input
-id: input/accelerometer_verify
-estimated_duration: 30.0
-_description:
- PURPOSE:
- Manual detection of accelerometer.
- STEPS:
- 1. Look at the specifications for your system.
- VERIFICATION:
- Is this system supposed to have an accelerometer?
-
plugin: user-interact
category_id: com.canonical.plainbox::input
id: input/accelerometer
estimated_duration: 60.0
user: root
-depends: input/accelerometer_verify
+requires: device.category == 'ACCELEROMETER'
command: accelerometer_test -m
_description:
PURPOSE:
diff --git a/jobs/miscellanea.txt.in b/jobs/miscellanea.txt.in
index fe26ae1..dc79a32 100644
--- a/jobs/miscellanea.txt.in
+++ b/jobs/miscellanea.txt.in
@@ -325,7 +325,7 @@ plugin: user-interact-verify
category_id: com.canonical.plainbox::miscellanea
estimated_duration: 5.0
id: miscellanea/device_check
-command: udev_resource -l VIDEO NETWORK WIRELESS DISK | tee >([[ $DISPLAY ]] && zenity --text-info --title="Device report")
+command: udev_resource -l VIDEO NETWORK WIRELESS DISK ACCELEROMETER | tee >([[ $DISPLAY ]] && zenity --text-info --title="Device report")
_summary: Device Check
_purpose:
Device check