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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to