Changeset 904 for trunk/tools


Ignore:
Timestamp:
Oct 25, 2006, 1:51:57 AM (13 years ago)
Author:
bruno
Message:

merge -r890:902 $SVN_M/branches/stable

Location:
trunk/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/mg

    r788 r904  
    1 egrep -ri -w $* . | egrep -v '\.svn|~:'
     1egrep -ri -w "$*" . | egrep -v '\.svn|~:'
  • trunk/tools/mkqemu

    r618 r904  
    1919fi
    2020
    21 qemu -m 256 $QEMUOPT -redir tcp:${sp}:${ipvm}:22 /users/qemu/$m.qemu
     21ARCH=`/bin/arch`
     22if [ $ARCH == "x86_64" ]; then
     23    qemucmd32=/usr//bin/qemu-system-i386
     24    qemucmd64=/usr//bin/qemu
     25else
     26    qemucmd32=/usr//bin/qemu
     27    qemucmd64=/usr//bin/qemu-system-x86_64
     28fi
     29
     30echo $m | grep -q '_64$'
     31if [ $? -ne 0 ]; then
     32     qemucmd=$qemucmd32
     33else
     34     qemucmd=$qemucmd64
     35fi
     36$qemucmd -m 256 $QEMUOPT -redir tcp:${sp}:${ipvm}:22 /users/qemu/$m.qemu
Note: See TracChangeset for help on using the changeset viewer.