Merge lp:~roadmr/checkbox/1457505 into lp:checkbox

Proposed by Daniel Manrique
Status: Merged
Approved by: Zygmunt Krynicki
Approved revision: 3805
Merged at revision: 3805
Proposed branch: lp:~roadmr/checkbox/1457505
Merge into: lp:checkbox
Diff against target: 39 lines (+4/-4)
1 file modified
providers/plainbox-provider-checkbox/jobs/info.txt.in (+4/-4)
To merge this branch: bzr merge lp:~roadmr/checkbox/1457505
Reviewer Review Type Date Requested Status
Sylvain Pineau (community) Approve
Zygmunt Krynicki (community) Approve
Review via email: mp+259781@code.launchpad.net

Commit message

providers:checkbox: Fix wrong usage of recovery_info script in some info jobs

Description of the change

providers:checkbox: Fix wrong usage of recovery_info script in some info jobs

This is kinda hard to test (unless you're on a system with an OEM install which has the recovery partition) but running plainbox dev run for the updated jobs should NO longer yield a message about bad commandline parameters. I tested this on a Dell system which has an HP image installed so it was a bit flaky but the non-dell-dependent parts worked fine.

To post a comment you must log in.
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Looks good

review: Approve
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

Thanks for the quick fix.+1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'providers/plainbox-provider-checkbox/jobs/info.txt.in'
--- providers/plainbox-provider-checkbox/jobs/info.txt.in 2015-05-20 10:11:59 +0000
+++ providers/plainbox-provider-checkbox/jobs/info.txt.in 2015-05-21 15:12:29 +0000
@@ -283,7 +283,7 @@
283estimated_duration: 0.2283estimated_duration: 0.2
284_summary: Check existence of recovery partition284_summary: Check existence of recovery partition
285_description: Check existence of recovery partition285_description: Check existence of recovery partition
286command: recovery_info --check-recovery-partition286command: recovery_info
287287
288plugin: shell288plugin: shell
289id: info/detect_dell_recovery289id: info/detect_dell_recovery
@@ -293,7 +293,7 @@
293estimated_duration: 0.2293estimated_duration: 0.2
294_summary: Check the recovery type is dell or not294_summary: Check the recovery type is dell or not
295_description: Check the recovery type is dell or not295_description: Check the recovery type is dell or not
296command: recovery_info --check-recovery-type DELL296command: recovery_info checktype DELL
297297
298plugin: attachment298plugin: attachment
299id: recovery_info_attachment299id: recovery_info_attachment
@@ -309,7 +309,7 @@
309 Example:309 Example:
310 image_version: somerville-trusty-amd64-20140620-0310 image_version: somerville-trusty-amd64-20140620-0
311 bto_version: A00_dell-bto-trusty-houston-15-A11-iso-20141203-0.iso311 bto_version: A00_dell-bto-trusty-houston-15-A11-iso-20141203-0.iso
312command: recovery_info --show-version312command: recovery_info version
313313
314plugin: attachment314plugin: attachment
315id: dell_bto_xml_attachment315id: dell_bto_xml_attachment
@@ -322,7 +322,7 @@
322 The information include:322 The information include:
323 - fish packages323 - fish packages
324 - dell recovery stage 2 boot log324 - dell recovery stage 2 boot log
325command: recovery_info --readfile bto.xml325command: recovery_info file bto.xml
326326
327plugin: attachment327plugin: attachment
328id: info/kvm_output328id: info/kvm_output

Subscribers

People subscribed via source and target branches