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


Ignore:
Timestamp:
Sep 1, 2019, 6:16:11 PM (5 years ago)
Author:
Bruno Cornec
Message:

Improve install2pkg when repo already configured and use the new pb_distro_installpkgs function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r2426 r2427  
    16781678
    16791679    # Additional potential repo
    1680     my $forcerepo = pb_distro_setuprepo($pbos,"install");
     1680    pb_distro_setuprepo($pbos,"install");
    16811681    foreach my $pbpkg (@pkgs) {
    16821682        # We need to install the package to test, and deps brought with it
    1683         pb_distro_installdeps(undef,$pbos,$forcerepo,$pbpkg,"local");
     1683        pb_distro_installpkgs($pbos,$pbpkg,"local");
    16841684    }
    16851685}
     
    16971697    my $forcerepo = pb_distro_setuprepo($pbos,"test");
    16981698    foreach my $pbpkg (@pkgs) {
    1699         # We need to install the package to test, and deps brought with it
    1700         pb_distro_installdeps(undef,$pbos,$forcerepo,$pbpkg);
    1701         pb_system("$ENV{'PBDESTDIR'}/pbtest","Launching test for $pbpkg","verbose");
    1702     }
     1699    }
     1700    pb_system("$ENV{'PBDESTDIR'}/pbtest","Launching test","verbose");
    17031701}
    17041702
     
    27202718                $tag{2} = "$tag{1}-pb";
    27212719                $tag{3} = "$tag{2}-$ENV{'PBPROJ'}";
    2722                 $tag{4} = "$tag{3}-install";
    2723                 $tag{5} = "$tag{3}-test";
     2720                $tag{4} = "$tag{2}-install";
     2721                $tag{5} = "$tag{2}-test";
    27242722            } else {
    27252723                # If we were given an image name, just use it
Note: See TracChangeset for help on using the changeset viewer.