aboutsummaryrefslogtreecommitdiff
path: root/resources/utilities/grub-assemble/gen.sh
diff options
context:
space:
mode:
authorFrancis Rowe <fchmmr@minifree.lan>2015-12-04 19:17:38 +0000
committerFrancis Rowe <fchmmr@minifree.lan>2015-12-04 19:17:38 +0000
commit6278d578f6f47ae2d2742b95c99df087a06d0e90 (patch)
tree581ff675e6c6f5394b52f9ce443f985fe940ec34 /resources/utilities/grub-assemble/gen.sh
parent26d16fa5cdc9e351fcb582104cf8c7b3bf9ddaf0 (diff)
downloadlibrebootfr-6278d578f6f47ae2d2742b95c99df087a06d0e90.tar.gz
librebootfr-6278d578f6f47ae2d2742b95c99df087a06d0e90.zip
Revert "grub: build reproducibly"
This reverts commit 26d16fa5cdc9e351fcb582104cf8c7b3bf9ddaf0.
Diffstat (limited to 'resources/utilities/grub-assemble/gen.sh')
-rwxr-xr-xresources/utilities/grub-assemble/gen.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/resources/utilities/grub-assemble/gen.sh b/resources/utilities/grub-assemble/gen.sh
index 3c52a846..36352a3a 100755
--- a/resources/utilities/grub-assemble/gen.sh
+++ b/resources/utilities/grub-assemble/gen.sh
@@ -29,14 +29,6 @@ if [ $# != 1 ]; then
exit 1
fi
-if [ -f "../../../versiondate" ]; then
- # _src release archive is being used
- versiondate="$(cat ../../../versiondate)"
-else
- # git repo is being used
- versiondate="$(git show -s --format=%ct)"
-fi
-
# This is where GRUB is expected to be (outside of the grub-assemble, instead in main checkout)
grubdir="../../../grub"
@@ -59,7 +51,6 @@ if [ "${1}" = "vesafb" ]; then
-o "grub_vesafb.elf" \
-d "${grubdir}/grub-core/" \
--fonts= --themes= --locales= \
- --fixed-time ${versiondate} \
--modules="${grub_modules}" \
--install-modules="${grub_install_modules}" \
/boot/grub/grub.cfg="../../../resources/grub/config/grub_memdisk.cfg" \
@@ -74,7 +65,6 @@ then
-o "grub_txtmode.elf" \
-d "${grubdir}/grub-core/" \
--fonts= --themes= --locales= \
- --fixed-time ${versiondate} \
--modules="${grub_modules}" \
--install-modules="${grub_install_modules}" \
/boot/grub/grub.cfg="../../../resources/grub/config/grub_memdisk.cfg" \