Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   Translate i?86 into i386 as a base arch. (http://www.linux-archive.org/debian-user/249029-translate-i-86-into-i386-base-arch.html)

Jesse Keating 02-19-2009 11:43 PM

Translate i?86 into i386 as a base arch.
 
---
scripts/mk-images | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/mk-images b/scripts/mk-images
index a30cf6a..d86da0a 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -30,7 +30,7 @@ usage () {
}

DEBUG=""
-BUILDARCH=`uname -m`
+BUILDARCH=`uname -m | sed -e 's/i.86/i386/'`
BOOTISO="boot.iso"

while [ $# -gt 0 ]; do
@@ -44,7 +44,7 @@ while [ $# -gt 0 ]; do
shift
;;
--arch)
- BUILDARCH=$2
+ BUILDARCH=`echo $2 | sed -e 's/i.86/i386/'`
shift; shift
;;
--imgdir)
--
1.6.0.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

Jeremy Katz 02-20-2009 03:12 PM

Translate i?86 into i386 as a base arch.
 
Looks good

Jeremy

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 11:57 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.