|
Last change
on this file since 3670 was 1570, checked in by Bruno Cornec, 18 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
|
|---|
| 9 | if [ _"$sp" = _"" ]; then
|
|---|
| 10 | export sp=2222
|
|---|
| 11 | fi
|
|---|
| 12 |
|
|---|
| 13 | export ipvm=10.0.2.15
|
|---|
| 14 | export iph=10.0.2.2
|
|---|
| 15 |
|
|---|
| 16 | ARCH=`/bin/uname -m`
|
|---|
| 17 | if [ $ARCH = "x86_64" ]; then
|
|---|
| 18 | qemucmd32=/usr/bin/qemu-system-i386
|
|---|
| 19 | qemucmd64=/usr/bin/qemu
|
|---|
| 20 | else
|
|---|
| 21 | qemucmd32=/usr/bin/qemu
|
|---|
| 22 | qemucmd64=/usr/bin/qemu-system-x86_64
|
|---|
| 23 | fi
|
|---|
| 24 |
|
|---|
| 25 | echo $m | grep -q '_64$'
|
|---|
| 26 | if [ $? -eq 0 ]; then
|
|---|
| 27 | qemucmd="$qemucmd64 -no-kqemu"
|
|---|
| 28 | else
|
|---|
| 29 | qemucmd=$qemucmd32
|
|---|
| 30 | fi
|
|---|
| 31 | export qemucmd
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.