diff options
author | Luke T. Shumaker <lukeshu@parabola.nu> | 2024-01-07 15:22:55 -0700 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@parabola.nu> | 2024-01-07 20:18:29 -0700 |
commit | 620ba961e77afd0aab2c11db336334b588e84089 (patch) | |
tree | 35928a9c2c7be125cfd2ebbb5b92aeb1d8d0935c /libre/grub | |
parent | 14a544b18cf971ec8a116caaf4da0de2d8c4b127 (diff) |
libre/grub: pull reproducible-build bits from Arch
Diffstat (limited to 'libre/grub')
-rw-r--r-- | libre/grub/PKGBUILD | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libre/grub/PKGBUILD b/libre/grub/PKGBUILD index db7b34157..7a73b6e38 100644 --- a/libre/grub/PKGBUILD +++ b/libre/grub/PKGBUILD @@ -223,6 +223,9 @@ prepare() { ./bootstrap \ --gnulib-srcdir="${srcdir}/gnulib/" \ --no-git + + echo "Make translations reproducible..." + sed -i '1i /^PO-Revision-Date:/ d' po/*.sed } # Usage: _build_grub DIRSUFFIX 'Human Description' CPU-PLATFORM CONFIG_OPTIONS... @@ -252,6 +255,9 @@ _build_grub() { --target="${bld_cpu}" \ "${bld_configure_options[@]}" + echo "Make info pages reproducible..." + touch -d "@${SOURCE_DATE_EPOCH}" $(find -name '*.texi') + echo "Run make for ${bld_desc} build..." make } |