Skip to content

Commit

Permalink
[backend] use always the buildtime as signing time for delta rpms
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Jul 13, 2015
1 parent 2c3908f commit 5f2cd24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/bs_signer
Expand Up @@ -402,7 +402,7 @@ sub signjob {
system('rpm', '--delsign', "$jobdir/$signfile") && warn("delsign $jobdir/$signfile failed: $?\n");
}
my @signmode;
@signmode = ('-r') if $signfile =~ /\.drpm$/;
@signmode = ('-r', '-T', 'buildtime') if $signfile =~ /\.drpm$/;
@signmode = ('-D') if $signfile =~ /\.pkg\.tar\.(?:gz|xz)$/;
if ($signfile =~ /\.key$/s) {
next unless (-s "$jobdir/$signfile") == 8192;
Expand Down

0 comments on commit 5f2cd24

Please sign in to comment.