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


Ignore:
Timestamp:
Mar 22, 2011, 1:15:29 AM (13 years ago)
Author:
Bruno Cornec
Message:
  • Adds support for different sha algorithms for createrepo call, due to some distro with python 2.4 not supporting sha256.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r1275 r1276  
    16841684        open(PBS,"> $ENV{'PBBUILDDIR'}/pbscript.$$") || die "Unable to create $ENV{'PBBUILDDIR'}/pbscript.$$";
    16851685        if ($pbos->{'type'} eq "rpm") {
     1686            my $pbsha = pb_distro_get_param($pbos,pb_conf_get("ossha"));
    16861687            # Also make a pbscript to generate yum/urpmi bases
    16871688            print PBS << "EOF";
     
    17041705fi
    17051706# Create repodata
    1706 createrepo .
     1707createrepo -s $pbsha .
    17071708EOF
    17081709            if ($pbos->{'family'} eq "md") {
Note: See TracChangeset for help on using the changeset viewer.