Unfortunately I can't fix this in ubuntu-defaults-image with a hook:
$ cat config/binary_local-hooks/clean-md5sum
#!/bin/sh -e
sed -in '/^[0-9a-f]\{32\} / p' binary/md5sum.txt
"lb binary_checksums" is called after "lb binary_local-hooks", so at the
time when the hook runs we don't have the md5sums file yet.
I see two solutions:
- remove the code in live-build's scripts/build/lb_binary_checksums which
prepends that header
- Fix the md5sum check component of gfxboot to ignore the header
** Package changed: ubuntu-defaults-builder (Ubuntu) => live-build
(Ubuntu)
** Changed in: live-build (Ubuntu)
Status: In Progress => Triaged
** Changed in: live-build (Ubuntu)
Assignee: Martin Pitt (pitti) => (unassigned)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/873401
Title:
Check disc for defects failed with a iso images built using ubuntu-
defaults-image
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/873401/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs