syslinux: make reproducible

This commit is contained in:
ajs124 2020-06-27 17:38:04 +02:00 committed by Bjørn Forsman
parent 7ec38adfdc
commit 57568628be

View File

@ -22,9 +22,15 @@ stdenv.mkDerivation {
url = mkURL "fa1349f1" "0002-gfxboot-menu-label.patch";
sha256 = "06ifgzbpjj4picpj17zgprsfi501zf4pp85qjjgn29i5rs291zni";
})
(fetchpatch {
url = "https://git.archlinux.org/svntogit/packages.git/plain/trunk/0005-gnu-efi-version-compatibility.patch?h=packages/syslinux";
sha256 = "0fbqz56hj8az8ws26m39hyp3l5fvcbzvzdddqz3x6n56hzdpz1p6";
(fetchurl {
url = "https://git.archlinux.org/svntogit/packages.git/plain/trunk/0005-gnu-efi-version-compatibility.patch?id=821c3da473d1399d930d5b4a086e46a4179eaa45";
name = "0005-gnu-efi-version-compatibility.patch";
sha256 = "1mz2idg8cwn0mvd3jixxynhkn7rhmi5fp8cc8zznh5f0ysfra446";
})
(fetchurl {
url = "https://git.archlinux.org/svntogit/packages.git/plain/trunk/0025-reproducible-build.patch?id=821c3da473d1399d930d5b4a086e46a4179eaa45";
name = "0025-reproducible-build.patch";
sha256 = "0qk6wc6z3648828y3961pn4pi7xhd20a6fqn6z1mnj22bbvzcxls";
})
(fetchurl {
# mbr.bin: too big (452 > 440)
@ -70,6 +76,7 @@ stdenv.mkDerivation {
"DATADIR=$(out)/share"
"MANDIR=$(out)/share/man"
"PERL=perl"
"HEXDATE=0x00000000"
]
++ stdenv.lib.optionals stdenv.hostPlatform.isi686 [ "bios" "efi32" ];