Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grml iso images deterministically reproducible? #93

Open
garlicgambit opened this issue Aug 6, 2020 · 3 comments
Open

Grml iso images deterministically reproducible? #93

garlicgambit opened this issue Aug 6, 2020 · 3 comments

Comments

@garlicgambit
Copy link

Is it possible to create deterministically reproducible grml iso images?

@mika
Copy link
Member

mika commented Aug 7, 2020

So far no. Grml uses our grml-live software for building the ISOs. There are several steps involved, like debootstrap plus further package installation, generating an initrd (via initramfs-tools + live-boot-grml and their hooks/scripts), then the rootfs is packaged as squashfs image and finally generating the ISO via xorriso.

grml-live supports -w DATE to use the wayback machine (using snapshot.debian.org for installing packages from a specific date), so this should help in reproducing the software package state (while #91 is yet to be resolved). IIRC debootstrap (and mmdebstrap) support reproducible systems nowadays, looking at plougher/squashfs-tools@24da0c6 + https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919207 squashfs-tools seems to support reproducible builds as well and according to https://reproducible-builds.org/docs/system-images/ it might be possible to also use xorriso for reproducible builds.

So the relevant building blocks might be there, but AFAIK no one looked closer into this so far for grml-live, any contributions regarding this a more than welcome though. :)

@garlicgambit
Copy link
Author

Thanks for the detailed response. Looks promising. When we have time we'll look into it.

@mika
Copy link
Member

mika commented Sep 11, 2020

JFTR: https://rclobus.nl/blog/?p=190 provides some information about status of reproducing the Debian live ISOs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants