[Bug 1870408] Re: casper-md5check should leave a breadcrumb which apport, ubiquity, subiquity could use
Dimitri John Ledkov
launchpad at surgut.co.uk
Fri Apr 3 13:36:19 UTC 2020
** Description changed:
casper-md5check should leave a breadcrumb which apport & ubiquity can
pick up. (subiquity too)
There will be a file called:
- /run/casper-md5check.yaml
+ /run/casper-md5check.json
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_missmatch:
- - ./pics/red-upperleft.png
- result: fail
+ {
+ "checksum_missmatch" : [
+ "./pics/red-upperleft.png",
+ "./pics/red-lowerleft.png"
+ ],
+ "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 yaml safe_load to parse the file into a dictionary.
+ One can use python's json or yaml safe_load to parse the file into a
+ dictionary.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to casper in Ubuntu.
https://bugs.launchpad.net/bugs/1870408
Title:
casper-md5check should leave a breadcrumb which apport, ubiquity,
subiquity could use
Status in subiquity:
New
Status in apport package in Ubuntu:
New
Status in casper package in Ubuntu:
In Progress
Status in ubiquity package in Ubuntu:
New
Bug description:
casper-md5check should leave a breadcrumb which apport & ubiquity can
pick up. (subiquity too)
There will be a file called:
/run/casper-md5check.json
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_missmatch" : [
"./pics/red-upperleft.png",
"./pics/red-lowerleft.png"
],
"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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/subiquity/+bug/1870408/+subscriptions
More information about the foundations-bugs
mailing list