Commit Graph

10 Commits

Author SHA1 Message Date
Georges Dupéron
0792640e43 more debug offsets 2018-10-15 00:29:57 +02:00
Georges Dupéron
dbadffd09d Store the GPT mirror at the end of the file, inside the ZIP comment (fixes #10) 2018-10-15 00:29:57 +02:00
Georges Dupéron
796fa23965 Fix the CRC in the mirror header too 2018-10-15 00:29:57 +02:00
Georges Dupéron
38d057464b Fixed the GPT CRCs after injecting the MS-DOS comments in the partition array 2018-10-15 00:29:57 +02:00
Georges Dupéron
e8349eb34c Compute the disk and partition GUIDs from the disk image itself (with GUIDs initially all-zero)
This allows us to have a deterministic build (given a fixed environment)
without having to rely on GIT (the .git is not copied in the Guix build
environment), and without having to rely on Guix (which previously had to
inject the input hash into the source tree).

Guix is therefore "only" responsible for ensuring that the build tools and
environment are fixed, but is not strictly necessary to have reproducible
builds.
2018-10-15 00:29:57 +02:00
Georges Dupéron
3b640e997d GUID for gdisk: have Guix inject the hash of the inputs into the source tree 2018-10-15 00:29:57 +02:00
Georges Dupéron
77b33ac0e1 Inject the commit timestamp from the Guix build recipe 2018-10-15 00:29:57 +02:00
Georges Dupéron
76def29a7f make [all] now uses the guix build environment (but other targets don't) 2018-10-15 00:29:57 +02:00
Georges Dupéron
3913845ca9 Added dependencies to guix.scm 2018-10-15 00:29:57 +02:00
Georges Dupéron
017b038ac4
Split the Makefile into three parts (build framework, os-specific build recipes, tests)
Closes #1
2018-10-02 03:19:00 +02:00