* update bundled code

* make the build reproducible (hopefully...)
This commit is contained in:
Christian Hesse 2019-12-25 22:05:17 +00:00
parent 7155ffaf1c
commit bf67a0a106

View File

@ -9,9 +9,9 @@ _IA32_EFI_IN_ARCH_X64="1"
## "1" to enable EMU build, "0" to disable ## "1" to enable EMU build, "0" to disable
_GRUB_EMU_BUILD="0" _GRUB_EMU_BUILD="0"
_GRUB_EXTRAS_COMMIT="136763a4cc9ca3a4f59d05b79eede2159d6f441e" _GRUB_EXTRAS_COMMIT="8a245d5c1800627af4cefa99162a89c7a46d8842"
_GNULIB_COMMIT="9ce9be2ef0cb1180e35dfe9dfbbe90d774b374bd" _GNULIB_COMMIT="be584c56eb1311606e5ea1a36363b97bddb6eed3"
_UNIFONT_VER="12.1.02" _UNIFONT_VER="12.1.03"
[[ "${CARCH}" == "x86_64" ]] && _EFI_ARCH="x86_64" [[ "${CARCH}" == "x86_64" ]] && _EFI_ARCH="x86_64"
[[ "${CARCH}" == "i686" ]] && _EFI_ARCH="i386" [[ "${CARCH}" == "i686" ]] && _EFI_ARCH="i386"
@ -23,7 +23,7 @@ pkgname='grub'
pkgdesc='GNU GRand Unified Bootloader (2)' pkgdesc='GNU GRand Unified Bootloader (2)'
_pkgver=2.04 _pkgver=2.04
pkgver=${_pkgver/-/} pkgver=${_pkgver/-/}
pkgrel=3 pkgrel=4
epoch=2 epoch=2
url='https://www.gnu.org/software/grub/' url='https://www.gnu.org/software/grub/'
arch=('x86_64') arch=('x86_64')
@ -69,7 +69,7 @@ source=("git+https://git.savannah.gnu.org/git/grub.git#tag=grub-${_pkgver}?signe
sha256sums=('SKIP' sha256sums=('SKIP'
'SKIP' 'SKIP'
'SKIP' 'SKIP'
'04d652be1e28a6d464965c75c71ac84633085cd0960c2687466651c34c94bd89' '6067bda8daa1f3c49d8876107992e19fc9ab905ad54c01c3131b9649977c3746'
'SKIP' 'SKIP'
'171415ab075d1ac806f36c454feeb060f870416f24279b70104bba94bd6076d4' '171415ab075d1ac806f36c454feeb060f870416f24279b70104bba94bd6076d4'
'a5198267ceb04dceb6d2ea7800281a42b3f91fd02da55d2cc9ea20d47273ca29' 'a5198267ceb04dceb6d2ea7800281a42b3f91fd02da55d2cc9ea20d47273ca29'
@ -178,6 +178,11 @@ _build_grub-common_and_bios() {
--enable-boot-time \ --enable-boot-time \
"${_configure_options[@]}" "${_configure_options[@]}"
if [ ! -z "${SOURCE_DATE_EPOCH}" ]; then
echo "Make the build reproducible..."
touch -d "@${SOURCE_DATE_EPOCH}" $(find -name '*.texi')
fi
echo "Run make for bios build..." echo "Run make for bios build..."
make make
} }