Changeset 179 for devel/pb


Ignore:
Timestamp:
Oct 8, 2007, 11:33:11 AM (13 years ago)
Author:
Bruno Cornec
Message:

Fix a bug for launchvm where -P option wasn't taken in account

Location:
devel/pb
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r174 r179  
    596596        $ENV{'PBVMOPT'} = "";
    597597    }
     598    $vmport = "$pbport" if (defined $pbport);
    598599
    599600    my $cmd;
  • devel/pb/contrib/pbsetupqemu

    r176 r179  
    2121chmod 0644,$file;
    2222
     23    system "userdel pb";
    2324$file="/etc/passwd";
    2425open(PBFILE,$file) || die "Unable to open $file";
     
    3435    }
    3536    system "groupadd pb";
    36     system "useradd pb -g pb -d /home/pb";
     37    system "useradd pb -g pb -m -d /home/pb";
    3738}
    3839
     
    108109        system "yum -y $opt install neon newt-devel slang-devel autoconf automake libtool gcc rpm-build wget gcc-c++ docbook-utils-pdf ImageMagick man patch cdrecord mkisofs ntp perl-AppConfig perl-DateManip";
    109110    }
    110 } elsif (( $dfam eq "rh" ) || ($ddir eq "sles") || (($ddir eq "suse") && (($dver eq "10.1") || ($dver eq "10.2"))) || (($ddir eq "mandrake") && ($dver eq "10.1"))) {
     111} elsif (( $dfam eq "rh" ) || ($ddir eq "sles") || (($ddir eq "suse") && (($dver eq "10.1") || ($dver eq "10.2") || ($dver eq "10.0"))) || (($ddir eq "mandrake") && ($dver eq "10.1"))) {
    111112    # Suppose pkg are installed already
    112113    system "rm -rf AppConfig-* ; wget http://search.cpan.org/CPAN/authors/id/A/AB/ABW/AppConfig-1.66.tar.gz ; tar xvfz AppConfig-1.66.tar.gz ; cd AppConfig* ; perl Makefile.PL ; make ; make install ; cd .. ; rm -rf DateManip* ; wget http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/Date-Manip-5.46.tar.gz ; tar xvfz Date-Manip-5.46.tar.gz ; cd Date-Manip* ; perl Makefile.PL ; make ; make install ; cd .. ";
Note: See TracChangeset for help on using the changeset viewer.