Ignore:
Timestamp:
May 1, 2006, 1:54:31 AM (14 years ago)
Author:
bcornec
Message:

merge -r 437:447 $SVN_M/branches/stable
merge -r 461:464 $SVN_M/branches/stable
merge -r 465:472 $SVN_M/branches/stable
merge -r 473:479 $SVN_M/branches/stable
merge -r 480:488 $SVN_M/branches/stable
merge -r 491:494 $SVN_M/branches/stable
merge -r 508:516 $SVN_M/branches/stable

File:
1 copied

Legend:

Unmodified
Added
Removed
  • branches/2.0.8/tools/mkqemu

    r447 r519  
    1212
    1313if [ _"$2" == _"" ]; then
    14     export SVN_VM="mdk101 mdk102 mdv2006 rhel3 rhel4 rh73 fc4 sles9"
     14    export SVN_VM="mdk101 mdk102 mdv2006 rh73 rh9 fc4 fc5 rhel3 rhel4 suse10 sles9 debian31"
    1515else
    1616    export SVN_VM="$2"
     
    4343    fi
    4444fi
    45 \$SVN_HOME/$1/tools/mkrpm < /dev/null
     45echo \$SVN_VM | grep -q "debian"
     46if [ \$? -eq 0 ]; then
     47    \$SVN_HOME/$1/tools/mkdeb < /dev/null
     48else
     49    \$SVN_HOME/$1/tools/mkrpm < /dev/null
     50fi
    4651\$SVN_HOME/$1/tools/mkdeliv
    4752EOF
     
    4954ipvm=10.0.2.15
    5055sp=2222
     56
    5157
    5258for m in $SVN_VM; do
     
    6066        # Virtual machine alreday started
    6167        vmp=1
    62         qemu -m 256 -redir tcp:${sp}:${ipvm}:22 /users/vmplayer/$m.qemu &
    63         sleep 240
     68        qemu -m 256 $QEMUOPT -redir tcp:${sp}:${ipvm}:22 /users/vmplayer/$m.qemu &
     69        sleep 300
    6470    fi
    6571    scp -P $sp /tmp/mkmondo bruno@localhost:
     
    6773    if [ $vmp -eq 1 ]; then
    6874        ssh -p $sp root@localhost "halt -p"
     75        sleep 300
     76        proces=`ps auxww | grep qemu | grep -v grep | grep -q /users/vmplayer/$m.qemu | awk '{print $2}'`
     77        if [ "$proces" != "" ]; then
     78            kill $proces
     79        fi
    6980    fi
    7081done
Note: See TracChangeset for help on using the changeset viewer.