| commit | 58bbc85c27d2d91276113640ba1fe6ea0f2e8b0c | [log] [tgz] |
|---|---|---|
| author | Jan Schär <jan@monogon.tech> | Wed Jul 09 10:13:21 2025 +0000 |
| committer | Jan Schär <jan@monogon.tech> | Thu Jul 10 11:11:12 2025 +0000 |
| tree | bf38ed05f93a7eac50b610a454203d995c4220f0 | |
| parent | 03dadba89882b90e671a0942311e1588b37fc918 [diff] |
third_party/linux: make build reproducible Linux includes a timestamp, username and hostname in /proc/version and other places. We need to set these to a fixed value to make the build reproducible. For the timestamp, we can use the modified date of any file in the source archive; all files in the archive have the same timestamp. See Linux Documentation/kbuild/reproducible-builds.rst Change-Id: If50bb5a8ee73e5bc37e95a5d38e7ee87d85518a5 Reviewed-on: https://review.monogon.dev/c/monogon/+/4417 Tested-by: Jenkins CI Reviewed-by: Lorenz Brun <lorenz@monogon.tech>
This is the main repository containing the source code for the Monogon Platform.
This is pre-release software - take a look, and check back later! In the meantime, join us on Matrix (#monogon-os-community:matrix.org) or Discord.
Our build environment is self-contained and requires only minimal host dependencies:
/dev/kvm (if you want to run tests).Our docs assume that Bazelisk is available as bazel on your PATH.
Refer to SETUP.md for detailed instructions.
The source code lives in //metropolis (Metropolis is the codename of Monogon OS).
See the //metropolis/README.md for a developer quick start guide, or see the Monogon OS Handbook for user documentation.