Last change
on this file since 1688 was 1681, checked in by Bruno Cornec, 18 years ago |
- Update ChangeLogs for upcoming 2.2.5 official release
- logfile now automatically added to changelog debian file
- mindi should not be a noarch right now (postponed to 3.0.x)
- Adds changelog file template for Debian via pbconf
- Migrate build files to pb
- Remove old build files under distributions
- adds a simpler script setupqemu to call pb for VM setup
(merge -r1669:1680 $SVN_M/branches/2.2.5)
|
-
Property svn:executable
set to
*
|
File size:
502 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | (
|
---|
4 | if [ _"$1" == _"" ]; then
|
---|
5 | echo "Syntax: setupqemu VM"
|
---|
6 | exit -1
|
---|
7 | fi
|
---|
8 | cat /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
|
---|
11 | ssh -p 2222 root@localhost halt
|
---|
12 | sleep 120
|
---|
13 | ps auhxww | grep qemu | grep -Ev 'grep|setupqemu' | awk '{print $2}' | xargs kill -9
|
---|
14 | done
|
---|
15 | ) 2>&1 | tee /tmp/setupqemu.log
|
---|
Note:
See
TracBrowser
for help on using the repository browser.