summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2009-02-19 16:28:35 -0800
committerJesse Keating <jkeating@redhat.com>2009-02-20 08:54:50 -0800
commit990bcf145d74b51938f7689e24dc8b89afbc5e79 (patch)
tree7981cc2c121f5a26696a650d10cd66925534e838 /scripts
parente58d9d879fc80b89163d81b582a5e136269f76d6 (diff)
Translate i?86 into i386 as a base arch.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mk-images4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mk-images b/scripts/mk-images
index a30cf6af0..d86da0a77 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)