Size: 1180
Comment: Universal name
|
Size: 1376
Comment: renaming to SameKernel, and --build-id=none
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
Describe SameBuild here. | |
Line 4: | Line 3: |
SameBuild is idea to make kernel reproducible (deterministic, verifiable build). | <!> up-to-date: '''kernel 3.2.54'''. (Always read current kernel sources!) This topic has maintainer B) ["rfree"] SameKernel is idea to make kernel reproducible (deterministic, verifiable build). |
Line 7: | Line 8: |
This task is being now developed as part of [Mempo] project and documented on '''https://wiki.debian.org/ReproducibleBuildsKernel''' | This task is being now developed as part of [Mempo] project and documented on '''https://wiki.debian.org/SameKernel''' |
Line 16: | Line 17: |
* compiler and/or linker might add '''--build-id''' - being fixed now - see [["vmlinux/asm-notes"]] | * compiler and/or linker might add '''--build-id''' - it is fixed by adding changing --build-id to '''--build-id=none''' in the main '''Makefile''' as done by '''Mempo SameKernel''' script. See [["vmlinux/asm-notes"]] |
up-to-date: kernel 3.2.54. (Always read current kernel sources!) This topic has maintainer
["rfree"]
SameKernel is idea to make kernel reproducible (deterministic, verifiable build). So that each time you build given kernel version (with same configuration), using same tools you will get binary identical resulting files.
This task is being now developed as part of [Mempo] project and documented on https://wiki.debian.org/SameKernel (developed in Debian, how ever results from it will be applicable to all kernel builds).
Please see that page for details and please help our research: group ["Mempo"] is looking (2014-01) for hackers to help on this.
Problems:
usage of __LINE__ and __FILE__ can be fixed with a small patch in the remaining places it is used
some settings (like root device?) can be fixed by patch/options
distribution like Debian can pack the files into a package in non-deterministic way (od Debian newer dpkg does this correctly)
compiler and/or linker might add --build-id - it is fixed by adding changing --build-id to --build-id=none in the main Makefile as done by Mempo SameKernel script. See "vmlinux/asm-notes"
Name "SameBuild" is used by ["Mempo"] because the alternatives are harder to spell/remember.