Changeset 223 in ProjectBuilder
- Timestamp:
- Oct 17, 2007, 11:32:14 AM (17 years ago)
- Location:
- 0.8.5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
0.8.5/pb/bin/pb
r221 r223 567 567 pb_system("ssh -q -p $port $mac \"rm -rf $tdir $bdir\"","VM cleanup on $mac"); 568 568 if (! $vmexist) { 569 pb_system("ssh -q -p $port $mac \"sudo / usr/bin/poweroff\"; sleep $tm ; echo \'if [ -d /proc/$vmpid ]; then kill -9 $vmpid; fi \' | bash ; sleep 10","VM $vm halt (pid $vmpid)");569 pb_system("ssh -q -p $port $mac \"sudo /sbin/halt -p \"; sleep $tm ; echo \'if [ -d /proc/$vmpid ]; then kill -9 $vmpid; fi \' | bash ; sleep 10","VM $vm halt (pid $vmpid)"); 570 570 } 571 571 pb_send2ssh("Packages","$odir"."_"."$over"); … … 636 636 $vmm = "$vmpath->{$ENV{'PBPROJ'}}/$vm.qemu"; 637 637 if (! -f "$vmm") { 638 print "Unable to find VM $vmm"; 639 return; 638 die "Unable to find VM $vmm"; 640 639 } 641 640 $cmd = "$vmcmd $ENV{'PBVMOPT'} -redir tcp:$vmport->{$ENV{'PBPROJ'}}:10.0.2.15:22 $vmm" … … 674 673 print SCRIPT "mv .pbrc \$HOME\n"; 675 674 print SCRIPT "cd ..\n"; 675 # Force new date to be i nthe future compared to the date of the tar file 676 my @date=(localtime->sec(), localtime->min(), localtime->hour(), localtime->mday(), localtime->mon(), localtime->year(), localtime->wday(), localtime->yday(), localtime->isdst()); 676 677 my $upddate = strftime("%m%d%H%M%Y", @date); 677 678 print SCRIPT "echo Setting up date on $vmntp...\n"; -
0.8.5/pbconf/project-builder/pbfilter/suse.pbf
r222 r223 4 4 # Filter for suse build 5 5 # 6 7 6 # PBGRP is replaced by the RPM group of apps 8 7 filter PBGRP = Applications/Archiving
Note:
See TracChangeset
for help on using the changeset viewer.