efi_resource command returns unexpected strings making the EFI parser results totally wrong
Bug #1269807 reported by
Sylvain Pineau
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Resource |
Fix Released
|
Medium
|
Unassigned |
Bug Description
$ /usr/share/
path: /sys/class/
category: EFI
product: Lenovo
vendor: /var/log/
path: /sys/class/
category: EFI
product: Lenovo
vendor: /var/log/
=======
Expected result:
path: /sys/class/
category: EFI
product: EFI v2.31
vendor: Lenovo
Related branches
lp://qastaging/~alai/checkbox/fix_efi_resource_output
Rejected
for merging
into
lp://qastaging/checkbox
- Daniel Manrique (community): Needs Fixing
-
Diff: 25 lines (+2/-2)2 files modifiedcheckbox-support/checkbox_support/parsers/efi.py (+1/-1)
providers/plainbox-provider-resource-generic/bin/efi_resource (+1/-1)
lp://qastaging/~kissiel/checkbox/fix_efi_resource_output
- Zygmunt Krynicki (community): Approve
- Daniel Manrique (community): Needs Information
-
Diff: 40 lines (+5/-5)3 files modifiedcheckbox-support/checkbox_support/parsers/efi.py (+1/-1)
checkbox-support/checkbox_support/parsers/tests/test_efi.py (+3/-3)
providers/plainbox-provider-resource-generic/bin/efi_resource (+1/-1)
tags: | added: job |
affects: | checkbox → plainbox-provider-resource |
Changed in plainbox-provider-resource: | |
assignee: | nobody → ashley (alai) |
Changed in plainbox-provider-resource: | |
status: | Triaged → In Progress |
Changed in plainbox-provider-resource: | |
milestone: | none → 0.6 |
Changed in plainbox-provider-resource: | |
milestone: | 0.6 → 0.7 |
Changed in plainbox-provider-resource: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
First thing to fix is the command used by efi_resource:
-COMMAND = "[ -d /sys/firmware/efi ] && cat /var/log/kern.log* | grep -m 1 -o --color=never 'EFI v.*' || true"
+COMMAND = "[ -d /sys/firmware/efi ] && grep -m 1 -o --color=never 'EFI v.*' /var/log/kern.log* || true"