Merge ~rodsmith/plainbox-provider-certification-server:fix-arm64-virt into plainbox-provider-certification-server:master
Status: | Merged |
---|---|
Approved by: | Jeff Lane |
Approved revision: | bb1e135c20259359c92e83db1b1a27d174558093 |
Merged at revision: | e0830aef0cdbe3a429ca6b098ae4c62645792316 |
Proposed branch: | ~rodsmith/plainbox-provider-certification-server:fix-arm64-virt |
Merge into: | plainbox-provider-certification-server:master |
Diff against target: |
157 lines (+74/-67) 1 file modified
tools/canonical-certification-precheck (+74/-67) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jeff Lane | Approve | ||
Review via email:
|
Description of the change
If KVM_IMAGE in /etc/xdg/
This fix is a bit half-done, in that it would be better to extract the .img file from the tarball and verify it, or at least accept tarballs only on the platforms that use them; but the problem case seems to be pretty limited, and this is just the precheck script, not Checkbox itself, so writing a lot more code seems pointless.
This diff looks bigger than it is; I had problems with inconsistent formatting (tabs vs. spaces), which ended up growing the diff.
FWIW, if you are using Vim, set the tab to be 4 spaces (as opposed to a single tab char):
set tabstop=4
set shiftwidth=4
set expandtab
set softtabstop=4
This way a "tab" is always a consistent 4 characters. Bash doesn't complain like Python will about inconsistency between tabs and spaces.