source: branches/stable/tools/qemu-env @ 3656

Last change on this file since 3656 was 1570, checked in by Bruno Cornec, 13 years ago
  • Add support of Debian ia64 in mondo
  • Fix mindi iso build for ia64 (test was reversed)
  • Add support for gzip compressed kernel in mindi (ia64 SLES 10 is in that category)
  • arch => uname -m everywhere
  • parted2fdisk adapted for parted differences on SLES 10 ia64
  • reiserfs support added for parted2fdisk
  • decode_Bsuf function added for parted2fdisk
  • README.ia64 improved for SLES 10

(merge -r 1563:1567 $SVN_M/branches/2.2.5)

Also begin to remove floppy support from mindi

  • Property svn:executable set to *
File size: 527 bytes
Line 
1#!/bin/bash
2#
3# Creates common environment for QEMU
4#
5# $Id: common-env 882 2006-10-08 09:48:30Z bruno $
6#
7
8# Adapt to your needs
9if [ _"$sp" = _"" ]; then
10    export sp=2222
11fi
12
13export ipvm=10.0.2.15
14export iph=10.0.2.2
15
16ARCH=`/bin/uname -m`
17if [ $ARCH = "x86_64" ]; then
18    qemucmd32=/usr/bin/qemu-system-i386
19    qemucmd64=/usr/bin/qemu
20else
21    qemucmd32=/usr/bin/qemu
22    qemucmd64=/usr/bin/qemu-system-x86_64
23fi
24
25echo $m | grep -q '_64$'
26if [ $? -eq 0 ]; then
27    qemucmd="$qemucmd64 -no-kqemu"
28else
29    qemucmd=$qemucmd32
30fi
31export qemucmd
Note: See TracBrowser for help on using the repository browser.