diff options
author | Mike Swanson | 2020-01-08 11:10:30 -0800 |
---|---|---|
committer | Mike Swanson | 2020-01-08 11:10:30 -0800 |
commit | 05690a77dfbb06ce1d00f39b6e9bdff25fbb30ff (patch) | |
tree | a7de04213fceb1a00c9d20d2805b2f8e2b23c1d4 | |
parent | 612ea2a5269570f213e53287cee1cb57a66f6c95 (diff) | |
download | aur-05690a77dfbb06ce1d00f39b6e9bdff25fbb30ff.tar.gz |
Get in sync again with in-repo GRUB, making this package reproducible
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 14 insertions, 9 deletions
@@ -1,7 +1,7 @@ pkgbase = grub-libzfs pkgdesc = GNU GRand Unified Bootloader (2) - libzfs support pkgver = 2.04 - pkgrel = 3 + pkgrel = 4 epoch = 2 url = https://www.gnu.org/software/grub/ install = grub-libzfs.install @@ -51,8 +51,8 @@ pkgbase = grub-libzfs backup = etc/default/grub backup = etc/grub.d/40_custom source = git+https://git.savannah.gnu.org/git/grub.git#tag=grub-2.04?signed - source = git+https://git.savannah.gnu.org/git/grub-extras.git#commit=136763a4cc9ca3a4f59d05b79eede2159d6f441e - source = git+https://git.savannah.gnu.org/git/gnulib.git#commit=9ce9be2ef0cb1180e35dfe9dfbbe90d774b374bd + source = git+https://git.savannah.gnu.org/git/grub-extras.git#commit=8a245d5c1800627af4cefa99162a89c7a46d8842 + source = git+https://git.savannah.gnu.org/git/gnulib.git#commit=be584c56eb1311606e5ea1a36363b97bddb6eed3 source = http://unifoundry.com/pub/unifont/unifont-12.1.04/font-builds/unifont-12.1.04.bdf.gz source = http://unifoundry.com/pub/unifont/unifont-12.1.04/font-builds/unifont-12.1.04.bdf.gz.sig source = 0003-10_linux-detect-archlinux-initramfs.patch @@ -9,8 +9,8 @@ _IA32_EFI_IN_ARCH_X64="1" ## "1" to enable EMU build, "0" to disable _GRUB_EMU_BUILD="0" -_GRUB_EXTRAS_COMMIT="136763a4cc9ca3a4f59d05b79eede2159d6f441e" -_GNULIB_COMMIT="9ce9be2ef0cb1180e35dfe9dfbbe90d774b374bd" +_GRUB_EXTRAS_COMMIT="8a245d5c1800627af4cefa99162a89c7a46d8842" +_GNULIB_COMMIT="be584c56eb1311606e5ea1a36363b97bddb6eed3" _UNIFONT_VER="12.1.04" [[ "${CARCH}" == "x86_64" ]] && _EFI_ARCH="x86_64" @@ -23,7 +23,7 @@ pkgname='grub-libzfs' pkgdesc='GNU GRand Unified Bootloader (2) - libzfs support' _pkgver=2.04 pkgver=${_pkgver/-/} -pkgrel=3 +pkgrel=4 epoch=2 url='https://www.gnu.org/software/grub/' arch=('x86_64') @@ -133,9 +133,6 @@ prepare() { echo "Pull in latest language files..." ./linguas.sh - echo "Remove not working langs which need LC_ALL=C.UTF-8..." - sed -e 's#en@cyrillic en@greek##g' -i "po/LINGUAS" - echo "Avoid problem with unifont during compile of grub..." # http://savannah.gnu.org/bugs/?40330 and https://bugs.archlinux.org/task/37847 gzip -cd "${srcdir}/unifont-${_UNIFONT_VER}.bdf.gz" > "unifont.bdf" @@ -144,6 +141,9 @@ prepare() { ./bootstrap \ --gnulib-srcdir="${srcdir}/gnulib/" \ --no-git + + echo "Make translations reproducible..." + sed -i '1i /^PO-Revision-Date:/ d' po/*.sed } _build_grub-common_and_bios() { @@ -179,6 +179,11 @@ _build_grub-common_and_bios() { --enable-boot-time \ "${_configure_options[@]}" + if [ ! -z "${SOURCE_DATE_EPOCH}" ]; then + echo "Make info pages reproducible..." + touch -d "@${SOURCE_DATE_EPOCH}" $(find -name '*.texi') + fi + echo "Run make for bios build..." make } |