Hello community,
here is the log from the commit of package pesign-obs-integration for
openSUSE:Factory checked in at 2014-08-27 16:53:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pesign-obs-integration (Old)
and /work/SRC/openSUSE:Factory/.pesign-obs-integration.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pesign-obs-integration"
Changes:
--------
---
/work/SRC/openSUSE:Factory/pesign-obs-integration/pesign-obs-integration.changes
2014-08-15 09:58:33.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.pesign-obs-integration.new/pesign-obs-integration.changes
2014-08-27 16:53:06.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Aug 20 15:09:50 UTC 2014 - [email protected]
+
+- brp-99-compress-vmlinux: Compress the vmlinux image after
+ find-debuginfo (bnc#880848, bnc#884459)
+
+-------------------------------------------------------------------
New:
----
brp-99-compress-vmlinux
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ pesign-obs-integration.spec ++++++
--- /var/tmp/diff_new_pack.rG9n37/_old 2014-08-27 16:53:07.000000000 +0200
+++ /var/tmp/diff_new_pack.rG9n37/_new 2014-08-27 16:53:07.000000000 +0200
@@ -40,6 +40,7 @@
Source7: kernel-sign-file
Source8: modsign-repackage
Source9: gen-hmac
+Source10: brp-99-compress-vmlinux
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -58,6 +59,10 @@
cd %_sourcedir
install pesign-gen-repackage-spec kernel-sign-file gen-hmac
%buildroot/usr/lib/rpm/pesign
install brp-99-pesign %buildroot/usr/lib/rpm/brp-suse.d
+# brp-99-compress-vmlinux has nothing to do with signing. It is packaged in
+# pesign-obs-integration because this package is already used by the kernel
+# build
+install brp-99-compress-vmlinux %buildroot/usr/lib/rpm/brp-suse.d
install -m644 pesign-repackage.spec.in %buildroot/usr/lib/rpm/pesign
mkdir -p %buildroot/usr/bin
install modsign-repackage %buildroot/usr/bin/
++++++ brp-99-compress-vmlinux ++++++
#!/bin/bash
# Compress the /boot/vmlinux image after find-debuginfo.sh has done its job
set -e
case "$RPM_PACKAGE_NAME" in
kernel-*)
;;
*)
exit 0
esac
for f in $RPM_BUILD_ROOT/boot/vmlinux-*; do
if test -e "$f" -a -e "$f.gz"; then
echo "gzip $f"
# Deliberately not using gzip -n; the vmlinux image has a
# predictable timestamp (bnc#880848#c20)
gzip -k -9 -f "$f"
fi
done
++++++ gen-hmac ++++++
--- /var/tmp/diff_new_pack.rG9n37/_old 2014-08-27 16:53:07.000000000 +0200
+++ /var/tmp/diff_new_pack.rG9n37/_new 2014-08-27 16:53:07.000000000 +0200
@@ -20,16 +20,4 @@
system("fipshmac $buildroot$fn");
-#my $out = `sha512hmac "$buildroot$fn"`;
-#if ($?) {
-# exit 1;
-#}
-#my @t = split(" ", $out);
-#my $hmac = $t[0];
-
-#(my $hmacfn = "$buildroot$fn") =~ s|([^/]*)$|.$1.hmac|;
-#open(my $fd, '>', $hmacfn) or die "$0: Cannot open $hmacfn: $!\n";
-#print $fd "$hmac $fn\n";
-#close($fd);
-
exit 0;
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]