1
0
pesign-obs-integration/_service:tar_scm:gen-hmac
Gary Ching-Pang Lin b86ef55a2e Accepting request 613226 from home:bluca:debian_secure_boot
Add _service file with tar_scm and dsc. The tar_scm is necessary, as for Debian builds it's necessary to have a tarball with the content.
RPM build is unchanged.

OBS-URL: https://build.opensuse.org/request/show/613226
OBS-URL: https://build.opensuse.org/package/show/Base:System/pesign-obs-integration?expand=0&rev=57
2018-05-31 08:50:32 +00:00

24 lines
337 B
Perl

#!/usr/bin/perl
use strict;
use warnings;
use Getopt::Long;
my $USAGE = "Usage: $0 [-r <build root>] <file>\n";
my $buildroot = "";
GetOptions("r|root=s" => \$buildroot) or die $USAGE;
if (scalar(@ARGV) != 1) {
die $USAGE;
}
if ($buildroot) {
$buildroot .= "/";
}
my $fn = shift @ARGV;
system("fipshmac $buildroot$fn");
exit 0;