Changeset 623 for devel/pb/bin/pb


Ignore:
Timestamp:
Dec 1, 2008, 2:30:28 AM (11 years ago)
Author:
Bruno Cornec
Message:
  • Adds preliminary support for rpm signing
  • Fix a bad bug in the call function of pb_distro_getdeps
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r622 r623  
    12901290        pb_system("$shcmd \"rm -rf $tdir $bdir\"","$cmt cleanup");
    12911291
     1292        # Sign packages locally
     1293        if ($dtype eq "rpm") {
     1294            pb_system("rpm --addsign --define \'_signature gpg\' --define \'_gpg_name $ENV{'PBPACKAGER'}\' $made","Signing RPM packages packages");
     1295        } elsif ($dtype eq "deb") {
     1296            pb_system("debsign $made","Signing DEB packages");
     1297        } else {
     1298            pb_log(0,"I don't know yet how to sign packages for type $dtype. Please give feedback to dev team");
     1299        }
     1300
    12921301        # We want to send them to the ssh account so overwrite what has been done before
    12931302        undef $pbaccount;
Note: See TracChangeset for help on using the changeset viewer.