Changeset 1519 in ProjectBuilder for devel/pb-modules/lib/ProjectBuilder/VE.pm


Ignore:
Timestamp:
May 12, 2012, 1:02:34 AM (12 years ago)
Author:
Bruno Cornec
Message:
  • pb.conf: Add support for centos-6: new osrelfile, add initial dependencies, add perl and package dependencies (Eric Anderson)
  • Distribution.pm: Require that we have a functional install command. The old protection code was wrong since without a valid value it defaults to , and if it had been correct would cause installs to silently fail. (Eric Anderson)
  • VE.pm: Run bootstrapping under linux32 (Bruno changed that to setarch) if arch is i386 and host is x86_64/amd64 so that it gets the architecture right. (Eric Anderson)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-modules/lib/ProjectBuilder/VE.pm

    r1517 r1519  
    9393    my $sudocmd="";
    9494    $sudocmd ="sudo " if ($EFFECTIVE_USER_ID != 0);
     95    # Handle cross arch on Intel based platforms
     96    $sudocmd = "setarch i386 $sudocmd" if (($pbos->{arch} =~ /i?86/) && ($arch eq 'x86_64'));
    9597
    9698    my $root = pb_path_expand($vepath->{$ENV{PBPROJ}});
Note: See TracChangeset for help on using the changeset viewer.