Changeset 686


Ignore:
Timestamp:
Feb 16, 2009, 3:04:28 AM (11 years ago)
Author:
Bruno Cornec
Message:
  • /proc mounted each time in build2v for VE
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r684 r686  
    16241624    print SCRIPT "mv .pbrc \$HOME\n";
    16251625    print SCRIPT "cd ..\n";
     1626
     1627    # VE needs a good /proc
     1628    if ($vtype eq "vm") {
     1629        print SCRIPT "sudo mount -t proc /proc /proc\n";
     1630    }
    16261631   
    16271632    # Get list of packages to build and get some ENV vars as well
     
    16541659    print SCRIPT "echo Building packages on $vtype...\n";
    16551660    print SCRIPT "pb $verbose -p $ENV{'PBPROJ'} build2pkg $p\n";
     1661    if ($vtype eq "vm") {
     1662        print SCRIPT "sudo umount /proc\n";
     1663    }
    16561664    close(SCRIPT);
    16571665    chmod 0755,"$ENV{'PBDESTDIR'}/pbscript";
Note: See TracChangeset for help on using the changeset viewer.