** 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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1870408

Title:
  casper-md5check should leave a breadcrumb which apport, ubiquity,
  subiquity could use

To manage notifications about this bug go to:
https://bugs.launchpad.net/subiquity/+bug/1870408/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to