Changeset 657 in ProjectBuilder for devel/pb/bin/pb


Ignore:
Timestamp:
Feb 4, 2009, 4:55:15 PM (15 years ago)
Author:
Bruno Cornec
Message:

Usage of rinse instead of mock for VE in pb_launchv

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r653 r657  
    14791479                # We have to rebuild the chroot
    14801480                if ($dtype eq "rpm") {
    1481                     pb_system("sudo /usr/sbin/mock --init --resultdir=\"/tmp\" --configdir=\"$veconf->{$ENV{'PBPROJ'}}\" -r $v","Creating the mock VE");
     1481                    # This was originaly planed to be used with mock => rinse
     1482                    #pb_system("sudo /usr/sbin/mock --init --resultdir=\"/tmp\" --configdir=\"$veconf->{$ENV{'PBPROJ'}}\" -r $v","Creating the mock VE");
    14821483                    # Once setup we need to install some packages, the pb account, ...
    1483                     pb_system("sudo /usr/sbin/mock --install --configdir=\"$veconf->{$ENV{'PBPROJ'}}\" -r $v su","Configuring the mock VE");
    1484                     #pb_system("sudo /usr/sbin/mock --init --resultdir=\"/tmp\" --configdir=\"$veconf->{$ENV{'PBPROJ'}}\" --basedir=\"$vepath->{$ENV{'PBPROJ'}}\" -r $v","Creating the mock VE");
     1484                    #pb_system("sudo /usr/sbin/mock --install --configdir=\"$veconf->{$ENV{'PBPROJ'}}\" -r $v su","Configuring the mock VE");
     1485                    pb_system("sudo /usr/sbin/rinse --directory \"$vepath->{$ENV{'PBPROJ'}}/$ddir/$dver/$darch\" --arch "$darch" --distribution \"$ddir-$dver\" --config \"$veconf->{$ENV{'PBPROJ'}}\"","Creating the rinse VE for $ddir-$dver ($darch)");
    14851486                } elsif ($dtype eq "deb") {
    14861487                    pb_system("","Creating the pbuilder VE");
Note: See TracChangeset for help on using the changeset viewer.