Ignore:
Timestamp:
Oct 21, 2007, 3:06:22 AM (12 years ago)
Author:
Bruno Cornec
Message:
  • Remove useless copy from mindi to mondo at end of USB handling
  • Fix PB macro vs tools/*2build issue
  • make_usb_fs change of interface (doesn't need a parameter)
  • Fix USB support in mondo to avoid multiple copies of files
  • Use first partiion in mondo for USB device
  • Fixes for USB CLI for both mondo/mindi
  • Try to add USB support for mondoarchive with new functions
  • du => deb for similarity with other distro type under pbconf
  • migrate gento build files under pb
  • remove now obsolete rpm spec file and gentoo build files from distributions
  • Remove DOCDIR usage in mindi + various build fixes

(merge -r1680:1692 $SVN_M/branches/2.2.5)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/tools/setupqemu

    r1681 r1693  
    33(
    44if [ _"$1" == _"" ]; then
    5     echo "Syntax: setupqemu VM"
     5    echo "Syntax: setupqemu VM|all"
    66    exit -1
    77fi
    88cat /users/bruno/pb/svn/devel/pb/contrib/pbsetupqemu /users/bruno/pb/svn/devel/pb/lib/ProjectBuilder/Distribution.pm > /tmp/pbscript
    9 for m in $*; do
    10     pb -r `pwd` -p mondorescue -m $m -a root -s /tmp/pbscript script2vm ; pb -p mondorescue -m $m build2vm
     9if [ _"$1" == "all" ]; then
     10    pb -r `pwd` -p mondorescue -a root -s /tmp/pbscript script2vm
    1111    ssh -p 2222 root@localhost halt
    1212    sleep 120
    13     ps auhxww | grep qemu | grep -Ev 'grep|setupqemu' | awk '{print $2}' | xargs kill -9
    14 done
     13    ps auhxww | grep qemu | grep -Ev 'grep|setupqemu' | awk '{print $2}' | xargs kill
     14else
     15    for m in $*; do
     16        pb -r `pwd` -p mondorescue -m $m -a root -s /tmp/pbscript script2vm ; pb -p mondorescue -m $m build2vm
     17        #ssh -p 2222 root@localhost halt
     18        #sleep 120
     19        #ps auhxww | grep qemu | grep -Ev 'grep|setupqemu' | awk '{print $2}' | xargs kill -9
     20    done
     21fi
    1522) 2>&1 | tee /tmp/setupqemu.log
Note: See TracChangeset for help on using the changeset viewer.