[arch-commits] Commit in grub/trunk (PKGBUILD archlinux_grub_mkconfig_fixes.patch)
Tobias Powalowski
tpowa at nymeria.archlinux.org
Mon Nov 25 07:51:03 UTC 2013
Date: Monday, November 25, 2013 @ 08:51:03
Author: tpowa
Revision: 200303
upgpkg: grub 1:2.00.1282.g5ae5c54-1
bump to latest version
Modified:
grub/trunk/PKGBUILD
grub/trunk/archlinux_grub_mkconfig_fixes.patch
-------------------------------------+
PKGBUILD | 17 +++++++++++------
archlinux_grub_mkconfig_fixes.patch | 14 +++++++-------
2 files changed, 18 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-11-25 03:55:25 UTC (rev 200302)
+++ PKGBUILD 2013-11-25 07:51:03 UTC (rev 200303)
@@ -1,9 +1,9 @@
# Maintainer : Tobias Powalowski <tpowa at archlinux.org>
# Maintainer : Ronald van Haren <ronald.archlinux.org>
-# Contributor: Keshav Padram Amburay (the.ridikulus.rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)>
+# Contributor: Keshav Padram Amburay <(the ddoott ridikulus ddoott rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)>
_pkgver="2.00"
-_GRUB_GIT_COMMIT="93c120754a537a2f060b8e20eab620e714309b82"
+_GRUB_GIT_COMMIT="5ae5c54c7e5cb048cdd78a53181cee0da698a953"
## grub-extras gpxe is not needed
@@ -12,7 +12,7 @@
pkgname="grub"
pkgdesc="GNU GRand Unified Bootloader (2)"
-pkgver=2.00.963.g93c1207
+pkgver=2.00.1282.g5ae5c54
pkgrel=1
epoch="1"
url="https://www.gnu.org/software/grub/"
@@ -26,8 +26,8 @@
replaces=('grub-common' 'grub-bios' "grub-efi-${_EFI_ARCH}")
provides=('grub-common' 'grub-bios' "grub-efi-${_EFI_ARCH}")
-makedepends=('git' 'bzr' 'rsync' 'xz' 'freetype2' 'bdf-unifont'
- 'ttf-dejavu' 'python2' 'autogen' 'texinfo' 'help2man'
+makedepends=('git' 'bzr' 'rsync' 'xz' 'freetype2' 'ttf-dejavu'
+ 'python2' 'autogen' 'texinfo' 'help2man'
'gettext' 'device-mapper' 'fuse')
depends=('sh' 'xz' 'gettext' 'device-mapper')
optdepends=('freetype2: For grub-mkfont usage'
@@ -40,6 +40,7 @@
# source=("http://ftp.gnu.org/gnu/grub/grub-${pkgver}.tar.xz"
source=("grub-${_pkgver}::git+git://git.sv.gnu.org/grub.git#commit=${_GRUB_GIT_COMMIT}"
+ 'http://unifoundry.com/unifont-5.1.20080820.bdf.gz'
'archlinux_grub_mkconfig_fixes.patch'
'60_memtest86+'
'grub.default'
@@ -46,7 +47,8 @@
'grub.cfg')
md5sums=('SKIP'
- 'ee1262cc4e20031df019779b1a4b1e39'
+ '6b8263ceccef33bd633aa019d74b7943'
+ 'b9cbff4a67e463722a113c66d57c4042'
'be55eabc102f2c60b38ed35c203686d6'
'a03ffd56324520393bf574cefccb893d'
'c8b9511586d57d6f2524ae7898397a46'
@@ -89,6 +91,9 @@
msg "Remove non working langs which need LC_ALL=C.UTF-8"
sed -e 's#en at cyrillic en at greek##g' -i "${srcdir}/grub-${_pkgver}/po/LINGUAS"
+ msg "Avoid problem with unifont during compile of grub, http://savannah.gnu.org/bugs/?40330 and https://bugs.archlinux.org/task/37847"
+ cp "${srcdir}/unifont-5.1.20080820.bdf" "${srcdir}/grub-${_pkgver}/unifont.bdf"
+
}
_build_grub-common_and_bios() {
Modified: archlinux_grub_mkconfig_fixes.patch
===================================================================
--- archlinux_grub_mkconfig_fixes.patch 2013-11-25 03:55:25 UTC (rev 200302)
+++ archlinux_grub_mkconfig_fixes.patch 2013-11-25 07:51:03 UTC (rev 200303)
@@ -1,5 +1,5 @@
diff --git a/util/grub-mkconfig.in b/util/grub-mkconfig.in
-index 8decc1d..170047f 100644
+index db58ab9..e66e139 100644
--- a/util/grub-mkconfig.in
+++ b/util/grub-mkconfig.in
@@ -212,6 +212,8 @@ export GRUB_DEFAULT \
@@ -12,7 +12,7 @@
GRUB_SAVEDEFAULT \
GRUB_ENABLE_CRYPTODISK \
diff --git a/util/grub.d/00_header.in b/util/grub.d/00_header.in
-index 2c4bb0a..c7120d2 100644
+index 9838720..dbb5dd2 100644
--- a/util/grub.d/00_header.in
+++ b/util/grub.d/00_header.in
@@ -125,6 +125,14 @@ cat <<EOF
@@ -31,7 +31,7 @@
gfxterm=0;
for x in ${GRUB_TERMINAL_INPUT} ${GRUB_TERMINAL_OUTPUT}; do
diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in
-index 0724e16..a8119bd 100644
+index e27d6f7..0a255f5 100644
--- a/util/grub.d/10_linux.in
+++ b/util/grub.d/10_linux.in
@@ -87,6 +87,8 @@ linux_entry ()
@@ -115,11 +115,11 @@
+ done
+ fi
+
- if [ "x$is_first_entry" = xtrue ]; then
+ if [ "x$is_top_level" = xtrue ] && [ "x${GRUB_DISABLE_SUBMENU}" != xy ]; then
linux_entry "${OS}" "${version}" simple \
"${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}"
-@@ -239,8 +274,11 @@ while [ "x$list" != "x" ] ; do
- echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' \$menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"
+@@ -240,8 +275,11 @@ while [ "x$list" != "x" ] ; do
+ is_top_level=false
fi
+ if ! test -e "/etc/arch-release" ; then
@@ -135,7 +135,7 @@
# If at least one kernel was found, then we need to
# add a closing '}' for the submenu command.
+if ! test -e "/etc/arch-release" ; then
- if [ x"$is_first_entry" != xtrue ]; then
+ if [ x"$is_top_level" != xtrue ]; then
echo '}'
fi
+fi
More information about the arch-commits
mailing list