Bug#856482: [live-build] Comments in checksum fails make the check fail
Control: reassign -1 live-boot
Control: tags -1 - patch
On Wed, 01 Mar 2017, Andreas Heinlein wrote:
> live-build generates a checksum file with seven lines of comments at the
> start, which explain what this file is for.
> While this works with "normal" shaXsum utilities, the script used to check
> the checksums in live-boot (when booted with the 'verify-checksums'
> parameter) uses a busybox implementation of shaXsum which obviously cannot
> deal with comments and always complains about 7 failures.
> Removing the comment from the checksum file solves the problem.
Thanks for the report and the patch. But arguably it's live-boot which has
to be improved. I'm reassigning the bug and I will commit a change
which basicaly does "grep -v '^#' checksumfile | shaXsum -c" to ensure
that the comments are stripped.
Cheers,
--
Raphaël Hertzog ◈ Debian Developer
Support Debian LTS: https://www.freexian.com/services/debian-lts.html
Learn to master Debian: https://debian-handbook.info/get/
Reply to: