From 33dcca7a05c67c5254874b80d648729818a58ba0 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Thu, 27 Nov 2008 17:55:39 -0300 Subject: [PATCH] linux26: fixed arch/share.in to translate x86 to i386 until 2.6.23 --- base/linux26/arch/shared.in | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/base/linux26/arch/shared.in b/base/linux26/arch/shared.in index 8bbcf304b..cac37100a 100644 --- a/base/linux26/arch/shared.in +++ b/base/linux26/arch/shared.in @@ -12,18 +12,6 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# Filename: package/.../linux26/arch/shared.in -# Copyright (C) 2008 The OpenSDE Project -# -# More information can be found in the files COPYING and README. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. A copy of the -# GNU General Public License can be found in the file COPYING. - case "$arch" in x86-64) if [ $lx_ver -ge 2006024 ]; then @@ -33,6 +21,10 @@ case "$arch" in fi ;; x86) - lx_cpu=$arch + if [ $lx_ver -ge 2006024 ]; then + lx_cpu=x86 + else + lx_cpu=i386 + fi ;; esac