Changeset 1596 in ProjectBuilder for devel/pb-modules/lib/ProjectBuilder


Ignore:
Timestamp:
May 25, 2012, 12:52:34 AM (12 years ago)
Author:
Bruno Cornec
Message:
  • Improve system cmd display in Distribution.pm for deps analysis
  • umount /proc in the VE when using rpmbootstrap, if it wasn't unmounted due to error, to allow snapshots to work correctly
  • pbtest should now be able to build afio in an rpm VE (The VE is setup correctly again, including fedora 16 having the requiretty constraint))
Location:
devel/pb-modules/lib/ProjectBuilder
Files:
2 edited

Legend:

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

    r1595 r1596  
    446446    next if $p =~ /^\s*$/o;
    447447    if ($pbos->{'type'} eq  "rpm") {
    448         my $res = pb_system("rpm -q --whatprovides --quiet $p","","mayfail");
     448        my $res = pb_system("rpm -q --whatprovides --quiet $p","Looking for $p","mayfail");
    449449        next if ($res eq 0);
    450450        pb_log(1, "INFO: missing dependency $p\n");
  • devel/pb-modules/lib/ProjectBuilder/VE.pm

    r1588 r1596  
    184184                my $command = pb_check_req("rpmbootstrap",0);
    185185                pb_system("$sudocmd $command $rbsopt $postinstall $addpkgs $pbos->{'name'}-$pbos->{'version'}-$pbos->{'arch'} $rbsverb","Creating the rpmbootstrap VE for $pbos->{'name'}-$pbos->{'version'} ($pbos->{'arch'})", "verbose");
     186                pb_system("$sudocmd /bin/umount $root/$pbos->{'name'}/$pbos->{'version'}/$pbos->{'arch'}/proc","Umounting stale /proc","mayfail") if (-f "$root/$pbos->{'name'}/$pbos->{'version'}/$pbos->{'arch'}/proc/cpuinfo");
    186187            } elsif ($verpmstyle eq "mock") {
    187188                my ($rbsconf) = pb_conf_get("rbsconf");
Note: See TracChangeset for help on using the changeset viewer.