From fc4c24864a0672fce04f79abe76586ae487c104d Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sun, 06 Dec 2015 00:36:40 -0500 Subject: Revert "Revert "grub: build reproducibly"" This reverts commit 6278d578f6f47ae2d2742b95c99df087a06d0e90. --- (limited to 'resources/scripts/helpers/build/release/util') diff --git a/resources/scripts/helpers/build/release/util b/resources/scripts/helpers/build/release/util index 1a0d72f..3e9910d 100755 --- a/resources/scripts/helpers/build/release/util +++ b/resources/scripts/helpers/build/release/util @@ -44,9 +44,11 @@ fi if [ -f "version" ]; then # _src release archive is being used version="$(cat version)" + versiondate="$(cat versiondate)" else # git repo is being used version="$(git describe --tags HEAD)" + versiondate="$(git show -s --format=%ct)" fi versiondir="release/${version}" distname="libreboot_${version}_util" @@ -76,6 +78,8 @@ fi # include version information printf '%s\n' "${version}" >"${distdir}/version" +# include version date information +printf '%s\n' "${versiondate}" >"${distdir}/versiondate" # -------------- # BUC.TS related -- cgit v0.9.1