aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/download
diff options
context:
space:
mode:
authorJohn M. Harris, Jr <johnmh@splentity.com>2018-06-25 02:58:49 -0400
committerJohn M. Harris, Jr <johnmh@splentity.com>2018-06-25 02:58:49 -0400
commita8f882d78868970d2ca74a5638c791bd90c6b1f0 (patch)
tree1ee3d9c86fa52c6ca7ecb5d5cb492be3ed8bc3d0 /resources/scripts/helpers/download
parent817e68fee7c6ddd1852543326b77e2f0887fd6e2 (diff)
downloadlibrebootfr-a8f882d78868970d2ca74a5638c791bd90c6b1f0.tar.gz
librebootfr-a8f882d78868970d2ca74a5638c791bd90c6b1f0.zip
Add reproducible build patches to GRUB
Diffstat (limited to 'resources/scripts/helpers/download')
-rwxr-xr-xresources/scripts/helpers/download/grub5
1 files changed, 5 insertions, 0 deletions
diff --git a/resources/scripts/helpers/download/grub b/resources/scripts/helpers/download/grub
index c0a298cb..3ec8a8fb 100755
--- a/resources/scripts/helpers/download/grub
+++ b/resources/scripts/helpers/download/grub
@@ -49,6 +49,11 @@ git reset --hard e54c99aaff5e5f6f5d3b06028506c57e66d8ef77
# Replace "GNU GRUB version" in GRUB screen with "FREE AS IN FREEDOM"
git am "../resources/grub/patch/0001-grub-core-normal-main.c-Display-FREE-AS-IN-FREEDOM-n.patch"
+# Enable reproducible builds
+git am "../resources/grub/patch/reproducible/0001-mkstandalone-add-argument-fixed-time-to-override-mti.patch"
+git am "../resources/grub/patch/reproducible/0002-mkrescue-add-argument-fixed-time-to-get-reproducible.patch"
+git am "../resources/grub/patch/reproducible/0003-Makefile-use-FIXED_TIMESTAMP-for-mkstandalone-if-set.patch"
+
cd "../"
# Also download SeaBIOS, which we use with GRUB, to implement SeaGRUB