new upstream commits
This commit is contained in:
34
PKGBUILD
34
PKGBUILD
@ -9,21 +9,21 @@ _IA32_EFI_IN_ARCH_X64="1"
|
||||
## "1" to enable EMU build, "0" to disable
|
||||
_GRUB_EMU_BUILD="0"
|
||||
|
||||
_GRUB_EXTRAS_COMMIT="8a245d5c1800627af4cefa99162a89c7a46d8842"
|
||||
_GNULIB_COMMIT="be584c56eb1311606e5ea1a36363b97bddb6eed3"
|
||||
_UNIFONT_VER="13.0.06"
|
||||
_GRUB_EXTRAS_COMMIT='8a245d5c1800627af4cefa99162a89c7a46d8842'
|
||||
_GNULIB_COMMIT='be584c56eb1311606e5ea1a36363b97bddb6eed3'
|
||||
_UNIFONT_VER='13.0.06'
|
||||
|
||||
[[ "${CARCH}" == "x86_64" ]] && _EFI_ARCH="x86_64"
|
||||
[[ "${CARCH}" == "i686" ]] && _EFI_ARCH="i386"
|
||||
[[ "${CARCH}" == 'x86_64' ]] && _EFI_ARCH='x86_64'
|
||||
[[ "${CARCH}" == 'i686' ]] && _EFI_ARCH='i386'
|
||||
|
||||
[[ "${CARCH}" == "x86_64" ]] && _EMU_ARCH="x86_64"
|
||||
[[ "${CARCH}" == "i686" ]] && _EMU_ARCH="i386"
|
||||
[[ "${CARCH}" == 'x86_64' ]] && _EMU_ARCH='x86_64'
|
||||
[[ "${CARCH}" == 'i686' ]] && _EMU_ARCH='i386'
|
||||
|
||||
pkgname='grub'
|
||||
pkgdesc='GNU GRand Unified Bootloader (2)'
|
||||
epoch=2
|
||||
_commit='8fcfd1e0fc72d58766ce3dc09cf883c032f063f6'
|
||||
_pkgver=2.04.r340.g8fcfd1e0f
|
||||
_commit='39cfb3eb5caa71967f4e9e741d859e15d645c32f'
|
||||
_pkgver=2.04.r358.g39cfb3eb5
|
||||
pkgver=${_pkgver/-/}
|
||||
pkgrel=1
|
||||
url='https://www.gnu.org/software/grub/'
|
||||
@ -63,8 +63,8 @@ source=("git+https://git.savannah.gnu.org/git/grub.git#commit=${_commit}"
|
||||
"git+https://git.savannah.gnu.org/git/grub-extras.git#commit=${_GRUB_EXTRAS_COMMIT}"
|
||||
"git+https://git.savannah.gnu.org/git/gnulib.git#commit=${_GNULIB_COMMIT}"
|
||||
"https://ftp.gnu.org/gnu/unifont/unifont-${_UNIFONT_VER}/unifont-${_UNIFONT_VER}.bdf.gz"{,.sig}
|
||||
'0003-10_linux-detect-archlinux-initramfs.patch'
|
||||
'0004-add-GRUB_COLOR_variables.patch'
|
||||
'0001-00_header-add-GRUB_COLOR_-variables.patch'
|
||||
'0002-10_linux-detect-archlinux-initramfs.patch'
|
||||
'grub.default')
|
||||
|
||||
sha256sums=('SKIP'
|
||||
@ -72,8 +72,8 @@ sha256sums=('SKIP'
|
||||
'SKIP'
|
||||
'b7668a5d498972dc4981250c49f83601babce797be19b4fdd0f2f1c6cfbd0fc5'
|
||||
'SKIP'
|
||||
'171415ab075d1ac806f36c454feeb060f870416f24279b70104bba94bd6076d4'
|
||||
'a5198267ceb04dceb6d2ea7800281a42b3f91fd02da55d2cc9ea20d47273ca29'
|
||||
'5f2d7cde16e8edc34b613511e6abf2550b8de55bcc3039e5bfc3971164419093'
|
||||
'580a81b00088773d554832b0d74c85bf16fec37728802973c45993bcb97cd7d5'
|
||||
'791fadf182edf8d5bee4b45c008b08adce9689a9624971136527891a8f67d206')
|
||||
|
||||
_backports=(
|
||||
@ -112,12 +112,12 @@ prepare() {
|
||||
git cherry-pick -n "${_c}"
|
||||
done
|
||||
|
||||
echo "Patch to detect of Arch Linux initramfs images by grub-mkconfig..."
|
||||
patch -Np1 -i "${srcdir}/0003-10_linux-detect-archlinux-initramfs.patch"
|
||||
|
||||
echo "Patch to enable GRUB_COLOR_* variables in grub-mkconfig..."
|
||||
## Based on http://lists.gnu.org/archive/html/grub-devel/2012-02/msg00021.html
|
||||
patch -Np1 -i "${srcdir}/0004-add-GRUB_COLOR_variables.patch"
|
||||
patch -Np1 -i "${srcdir}/0001-00_header-add-GRUB_COLOR_-variables.patch"
|
||||
|
||||
echo "Patch to detect of Arch Linux initramfs images by grub-mkconfig..."
|
||||
patch -Np1 -i "${srcdir}/0002-10_linux-detect-archlinux-initramfs.patch"
|
||||
|
||||
echo "Fix DejaVuSans.ttf location so that grub-mkfont can create *.pf2 files for starfield theme..."
|
||||
sed 's|/usr/share/fonts/dejavu|/usr/share/fonts/dejavu /usr/share/fonts/TTF|g' -i "configure.ac"
|
||||
|
Reference in New Issue
Block a user