Bug #12330

initrd.img is not generated reproducibly

Added by intrigeri 2017-03-13 15:20:01 . Updated 2017-03-15 06:01:17 .

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Build system
Target version:
Start date:
2017-03-13
Due date:
% Done:

100%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

This is with initramfs-tools 0.127. I guess our patches didn’t make it into Debian yet, so I’ll check and build+upload a new custom package with our patches applied.


Subtasks


History

#1 Updated by intrigeri 2017-03-13 15:31:55

  • Status changed from Confirmed to In Progress
  • % Done changed from 0 to 30

uploaded 0.127.0tails1

#2 Updated by lamby 2017-03-13 16:32:59

You may also need a more recent cpio. We are using a patched version Debian.

#3 Updated by intrigeri 2017-03-13 19:17:54

  • Assignee changed from intrigeri to lamby

With cpio 2.11+dfsg-6 and initramfs-tools 0.127.0tails2 (that has your patch for Debian bug 845034 applied) the initrd is not reproducible. Running diffoscope on two of these initrds says:

--- new-iso/live/initrd.img
+++ old-iso/live/initrd.img
│┄ No file format specific differences found inside, yet data differs (ASCII cpio archive (SVR4 with no CRC))
@@ -95326,15 +95326,15 @@
[…]

lamby, wanna take a look?

#4 Updated by intrigeri 2017-03-15 06:01:17

  • Status changed from In Progress to Rejected
  • Assignee deleted (lamby)
  • % Done changed from 30 to 100

Actually it builds reproducibly once the files metadata in the SquashFS does.