[Reproducible-builds] Bug#820631: Bug#820631: (no subject)

Reiner Herrmann reiner at reiner-h.de
Sun Apr 10 20:34:59 UTC 2016


Hi Zbigniew,

thanks for the report!
I just had a short look at this issue.
The problem why diffoscope doesn't see this change is that the initramfs
contains actually multiple cpio archives, but diffoscope treats
the files as single cpio archives:

> $ cpio -t < initrd 
> .
> early_cpio
> kernel
> kernel/x86
> kernel/x86/microcode
> kernel/x86/microcode/GenuineIntel.bin

And the files in this first/visible archive don't differ.

Right now it doesn't know that somewhere in the original file an additional
archive is embedded.
And so it falls back to a hexdump/binary diff, as the files clearly
differ, but it didn't find any more readable difference.

To solve this, diffoscope either needs to learn about initramfs files,
or (to have a more general solution) use binwalk for extracting data
embedded into other files (this would require #819018 first).

Regards,
  Reiner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160410/f2e751d9/attachment-0001.sig>


More information about the Reproducible-builds mailing list