summaryrefslogtreecommitdiff
path: root/libre/grub
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-10-25 00:48:35 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-10-25 00:58:32 -0300
commita179b2d9427ed31a04a9eff96d28e36b5bbd9bda (patch)
tree73ade266e9d720c5303455219939eba29ba26fe8 /libre/grub
parentd4ccf8604760ab076bec7e5c21a349938cf95e25 (diff)
downloadabslibre-a179b2d9427ed31a04a9eff96d28e36b5bbd9bda.tar.gz
abslibre-a179b2d9427ed31a04a9eff96d28e36b5bbd9bda.tar.bz2
abslibre-a179b2d9427ed31a04a9eff96d28e36b5bbd9bda.zip
grub: drop xen support for i686
Diffstat (limited to 'libre/grub')
-rw-r--r--libre/grub/PKGBUILD31
1 files changed, 17 insertions, 14 deletions
diff --git a/libre/grub/PKGBUILD b/libre/grub/PKGBUILD
index 9191e302b..9f22b1d63 100644
--- a/libre/grub/PKGBUILD
+++ b/libre/grub/PKGBUILD
@@ -24,7 +24,6 @@ _UNIFONT_VER='8.0.01'
[[ "${CARCH}" = 'i686' ]] && _EFI_ARCH='i386'
[[ "${CARCH}" = 'x86_64' ]] && _XEN_ARCH='x86_64'
-[[ "${CARCH}" = 'i686' ]] && _XEN_ARCH='i386'
[[ "${CARCH}" = 'armv7h' ]] && _EMU_ARCH='arm'
[[ "${CARCH}" = 'x86_64' ]] && _EMU_ARCH='x86_64'
@@ -48,7 +47,7 @@ depends=('sh' 'xz' 'gettext' 'device-mapper')
makedepends=('git' 'rsync' 'xz' 'freetype2' 'ttf-dejavu' 'python' 'autogen'
'texinfo' 'help2man' 'gettext' 'device-mapper' 'fuse')
-if [[ "${CARCH}" = 'x86_64' ]] || [[ "${CARCH}" = 'i686' ]]; then
+if [[ "${CARCH}" = 'x86_64' ]]; then
makedepends+=('xen')
fi
@@ -582,12 +581,14 @@ build() {
fi
if [[ "${CARCH}" = 'x86_64' ]] || [[ "${CARCH}" = 'i686' ]]; then
- msg "Build grub ${_XEN_ARCH} XEN stuff"
- _build_grub-xen
-
- if [[ "${CARCH}" = 'x86_64' ]] && [[ "${_IA32_XEN_IN_ARCH_X64}" = '1' ]]; then
- msg 'Build grub i386 XEN stuff'
- _XEN_ARCH='i386' _build_grub-xen
+ if [[ "${CARCH}" = 'x86_64' ]]; then
+ msg "Build grub ${_XEN_ARCH} XEN stuff"
+ _build_grub-xen
+
+ if [[ "${_IA32_XEN_IN_ARCH_X64}" = '1' ]]; then
+ msg 'Build grub i386 XEN stuff'
+ _XEN_ARCH='i386' _build_grub-xen
+ fi
fi
msg 'Build grub BIOS stuff'
@@ -755,12 +756,14 @@ package_grub() {
fi
if [[ "${CARCH}" = 'x86_64' ]] || [[ "${CARCH}" = 'i686' ]]; then
- msg "Package grub ${_XEN_ARCH} XEN stuff"
- _package_grub-xen
-
- if [[ "${CARCH}" = 'x86_64' ]] && [[ "${_IA32_XEN_IN_ARCH_X64}" = '1' ]]; then
- msg 'Package grub i386 XEN stuff'
- _XEN_ARCH='i386' _package_grub-xen
+ if [[ "${CARCH}" = 'x86_64' ]]; then
+ msg "Package grub ${_XEN_ARCH} XEN stuff"
+ _package_grub-xen
+
+ if [[ "${_IA32_XEN_IN_ARCH_X64}" = '1' ]]; then
+ msg 'Package grub i386 XEN stuff'
+ _XEN_ARCH='i386' _package_grub-xen
+ fi
fi
msg 'Package grub BIOS stuff'