casper-md5check should leave a breadcrumb which apport, ubiquity, subiquity could use
Bug #1870408 reported by
Dimitri John Ledkov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity |
Fix Released
|
Undecided
|
Unassigned | ||
apport (Ubuntu) |
Fix Released
|
High
|
Brian Murray | ||
casper (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
ubiquity (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
casper-md5check should leave a breadcrumb which apport & ubiquity can pick up. (subiquity too)
There will be a file called:
/run/casper-
If it does not exist, or is empty the check did not run enough to validate anything. Treat as skip.
If it has content it will have:
{
"checksum_
"
"
],
"result" : "fail"
}
optional checksum_missmatch key, which will have a list of strings that are files that failed md5sum.
result key, which can have string values "pass" "fail" "skip".
One can use python's json or yaml safe_load to parse the file into a dictionary.
Related branches
description: | updated |
summary: |
- casper-md5check should leave a breadcrumb + casper-md5check should leave a breadcrumb which apport, ubiquity, + subiquity could use |
description: | updated |
Changed in casper (Ubuntu): | |
status: | New → In Progress |
description: | updated |
Changed in apport (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in subiquity: | |
status: | New → Fix Committed |
Changed in apport (Ubuntu): | |
status: | Triaged → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
tags: | added: id-5e876fef4565976edcab3a7c |
Changed in casper (Ubuntu): | |
status: | In Progress → Fix Committed |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Have three different files to check seems like a bit excessive. Could the filename be casper- m5check. result with the contents in the file e.g. "skipped"?