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

Reproducible rootfs creation #62

Open
frzb opened this issue Apr 9, 2022 · 1 comment
Open

Reproducible rootfs creation #62

frzb opened this issue Apr 9, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@frzb
Copy link
Owner

frzb commented Apr 9, 2022

While I was thinking about the rework of the release scheme I recognized that build process has to be reproducible to not end up with a moving target. Main target of this effort is the rootfs build with debirf based on debootstrap.

The people at Debian already addressed this topic:

https://wiki.debian.org/ReproducibleInstalls

So we should find out which software we should use for creating a reproducible rootfs build.

@frzb frzb added the enhancement New feature or request label Apr 9, 2022
@frzb
Copy link
Owner Author

frzb commented Apr 9, 2022

Experiment with mmdebstrap

$ export SOURCE_DATE_EPOCH=1649535745 && sudo mmdebstrap --variant=minbase --aptopt='Dir::Etc::Trusted "/usr/share/keyrings/ubuntu-master-keyring.gpg"' focal ./focal-chroot && sudo du -sh ./foc
al-chroot
I: automatically chosen mode: root
I: chroot architecture amd64 is equal to the host's architecture
I: automatically chosen format: directory
I: running apt-get update...
done
I: downloading packages with apt...
done
I: extracting archives...
done
I: installing essential packages...
done
I: downloading apt...
done
I: installing apt...
done
I: installing remaining packages inside the chroot...
done
done
I: cleaning package lists and apt cache...
done
done
I: success in 24.1608 seconds
89M     ./focal-chroot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant