Merge lp:~brendan-donegan/checkbox/bug1184661 into lp:checkbox
Proposed by
Brendan Donegan
Status: | Merged |
---|---|
Approved by: | Jeff Lane |
Approved revision: | 2227 |
Merged at revision: | 2224 |
Proposed branch: | lp:~brendan-donegan/checkbox/bug1184661 |
Merge into: | lp:checkbox |
Diff against target: |
114 lines (+43/-20) 3 files modified
checkbox-old/checkbox/parsers/lshwjson.py (+23/-0) checkbox-old/debian/changelog (+3/-0) checkbox-old/scripts/memory_compare (+17/-20) |
To merge this branch: | bzr merge lp:~brendan-donegan/checkbox/bug1184661 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jeff Lane | Approve | ||
Review via email: mp+172790@code.launchpad.net |
Description of the change
dmidecode doesn't exist on ARM platforms so memory_compare was failing to get the size of the installed RAM on these platforms. lshw was identified as a suitable replacement so this branch includes a parser for that tools JSON formatted output (lshw -json) and uses it in the memory_compare script to get the installed memory size if dmidecode is unable to.
To post a comment you must log in.
Putting this on hold since I want to confer over whether to just scrap the DMI parser altogether and use the lshw one on both x86 and ARM - my own local tests show they return the same figure.