aboutsummaryrefslogtreecommitdiff
path: root/system/xen/dom0/kernel-xen.sh
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2015-03-15 23:10:28 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-22 15:33:25 +0700
commitb7b30fc19a3678820cf38eeffa8e5aac37149594 (patch)
treec78dbc6328bca1c2976ebf548bfc04eea9d2a623 /system/xen/dom0/kernel-xen.sh
parent1e301e41ee5c82fda47438d878b48c3af4691985 (diff)
system/xen: Updated for version 4.5.0 and more.
Diffstat (limited to 'system/xen/dom0/kernel-xen.sh')
-rw-r--r--system/xen/dom0/kernel-xen.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/system/xen/dom0/kernel-xen.sh b/system/xen/dom0/kernel-xen.sh
index e60639bf89e8..b08f27fd598f 100644
--- a/system/xen/dom0/kernel-xen.sh
+++ b/system/xen/dom0/kernel-xen.sh
@@ -13,11 +13,10 @@ ROOTMOD=${ROOTMOD:-ext4}
ROOTFS=${ROOTFS:-ext4}
ROOTDEV=${ROOTDEV:-/dev/sda2}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
x86_64) ARCH=x86_64 ;;
- # Bail out on everything else:
*) echo "Unsupported architecture detected ($ARCH)"; exit ;;
esac
fi