Annotation of wikisrc/reproducable_builds.mdwn, revision 1.2

1.1       wiki        1: [[!meta title="Reproducable Builds"]]
                      3: # What is a Reproducable Build?
                      5: There are various definitions, but we will use common sense here: if I install a NetBSD release on a machine and come back to it in a year (or 10), it should be possible to create all of the installation again, 100% bitwise identical.
                      7: # Why are Reproducable Builds a good thing?
                      9: There are various advantages, one of them is the possibility to create binary patches later (after changing small things in the source, e.g. for security fixes). They are also useful if you do not trust the official builds, or are doing local builds and want to compare parts supposed to be identical.
1.2     ! wiki       11: # The Source
        !            12: 
        !            13: First prerequisite for reproducing a build is to get the same source. With cvs (as we use it now) this either happens via using a relase tag or a date for a checkout. Assuming you do a clean new checkout, examples would be:
        !            14: 
        !            15:   cvs -d co -r netbsd-8-1-RELEASE src xsrc
        !            16: 
        !            17: or
        !            18: 
        !            19:   cvs -d co -D "20190401 12:00UTC" src xsrc
        !            20: 
        !            21: If you are not using a fresh checkout (but updating an existing one) make sure to use the *-t* option to force cvs to use the commit time (instead of the update time) for updated files.
        !            22: 
        !            23: # TBD - page under construction

CVSweb for NetBSD wikisrc <> software: FreeBSD-CVSweb