Changeset 599 in MondoRescue
- Timestamp:
- May 31, 2006, 12:19:51 AM (19 years ago)
- Location:
- branches/stable/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/tools/build2pkg
r596 r599 80 80 mv $pv/distributions/${ddir}-$dver/$p.spec . 81 81 rm -rf $pv 82 rm -rf ${TOPBUILDDIR}/RPMS/${ar}/*83 rm -rf ${TOPBUILDDIR}/SRPMS/*84 82 85 83 rpmbuild -ba $p.spec 2> $log 1> $log 86 egrep '^Wrote:' $log87 84 if [ $? != 0 ]; then 88 85 cat $log 89 86 status=-1 90 87 fi 88 egrep '^Wrote:' $log 91 89 rm -rf ${TOPBUILDDIR}/BUILD/* 92 90 cd .. -
branches/stable/tools/build2qemu
r596 r599 81 81 fi 82 82 scp -P $sp $TMP/mkmondo.tar.gz bruno@localhost: 83 ssh -p $sp bruno@localhost "cd / ; tar xfz ~bruno/mkmondo.tar.gz ; $TMP/mkmondo " | tee $TMP/mkvm.log 83 rdate=`date "+%m%d%H%M"` 84 ssh -p $sp root@localhost "date $rdate" 85 ssh -p $sp bruno@localhost "cd / ; rm -rf ~bruno/mondo ~bruno/RPMS/BUILD/* ~bruno/RPMS/tmp/* /tmp/* ; tar xfz ~bruno/mkmondo.tar.gz ; $TMP/mkmondo " | tee $TMP/mkvm.log 84 86 #ssh -p $sp bruno@localhost "cd / ; tar xfz ~bruno/mkmondo.tar.gz ; $TMP/mkmondo ; rm -f $TMP" | tee $TMP/mkvm.log 85 87 if [ $vmp -eq 1 ]; then 86 88 ssh -p $sp root@localhost "halt -p" 87 89 sleep 300 88 proces=`ps auxww | grep qemu | grep -v grep | grep -q/users/qemu/$m.qemu | awk '{print $2}'`90 proces=`ps auxww | grep qemu | grep -v grep | grep /users/qemu/$m.qemu | awk '{print $2}'` 89 91 if [ "$proces" != "" ]; then 90 92 kill $proces
Note:
See TracChangeset
for help on using the changeset viewer.