aboutsummaryrefslogtreecommitdiffstats
path: root/testing/grub/APKBUILD
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2016-12-29 15:19:56 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2016-12-29 15:19:56 +0000
commit37b5733ae663c8bd3307a7bab999dbecf25f0a2e (patch)
treef46a02fd6117a8861908184ec659b02f51340b8c /testing/grub/APKBUILD
parentbf9902417d4e568f3b05a8199cb0e135610b4378 (diff)
downloadaports-37b5733ae663c8bd3307a7bab999dbecf25f0a2e.tar.bz2
aports-37b5733ae663c8bd3307a7bab999dbecf25f0a2e.tar.xz
testing/grub: disable Xen support on !x86_64
Diffstat (limited to 'testing/grub/APKBUILD')
-rw-r--r--testing/grub/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/grub/APKBUILD b/testing/grub/APKBUILD
index a01f83f99a..1f224284d0 100644
--- a/testing/grub/APKBUILD
+++ b/testing/grub/APKBUILD
@@ -3,7 +3,7 @@
pkgname=grub
_ver=2.02~beta3
pkgver=2.02_beta3
-pkgrel=3
+pkgrel=4
pkgdesc="Bootloader with support for Linux, Multiboot and more"
url="https://www.gnu.org/software/grub/"
arch="all !armhf"
@@ -16,7 +16,7 @@ install=""
# strip handled by grub Makefiles, abuild strip breaks xen pv-grub
options="!strip"
subpackages="$pkgname-dev $pkgname-doc $pkgname-efi"
-if [ "$CARCH" != "x86" ]; then
+if [ "$CARCH" == "x86_64" ]; then
subpackages="$subpackages $pkgname-xenhost"
fi
source="ftp://alpha.gnu.org/gnu/grub/grub-$_ver.tar.xz
@@ -67,8 +67,8 @@ _build_efi() {
}
_build_xen() {
- #Xen is not supported on x86
- if [ "$CARCH" != "x86" ]; then
+ #Xen is supported only x86_64
+ if [ "$CARCH" == "x86_64" ]; then
cd $builddir/xen
./configure \
--build=$CBUILD \