From 71d38ee3843387f6414ed91f4e49f9a7b5f42b56fda0e184163ef95ce5c7ed58 Mon Sep 17 00:00:00 2001 From: Gary Ching-Pang Lin Date: Tue, 29 Nov 2016 08:50:09 +0000 Subject: [PATCH] Accepting request 442519 from home:michal-m:branches:Base:System - Copy over any *.log files from the first build (bsc#1012422) OBS-URL: https://build.opensuse.org/request/show/442519 OBS-URL: https://build.opensuse.org/package/show/Base:System/pesign-obs-integration?expand=0&rev=45 --- pesign-obs-integration.changes | 5 +++++ pesign-obs-integration.spec | 3 +-- pesign-repackage.spec.in | 6 ++++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/pesign-obs-integration.changes b/pesign-obs-integration.changes index b5a3d7d..3229907 100644 --- a/pesign-obs-integration.changes +++ b/pesign-obs-integration.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 29 08:29:36 UTC 2016 - mmarek@suse.cz + +- Copy over any *.log files from the first build (bsc#1012422) + ------------------------------------------------------------------- Thu Mar 3 10:17:32 UTC 2016 - glin@suse.com diff --git a/pesign-obs-integration.spec b/pesign-obs-integration.spec index fc41233..6ec73cc 100644 --- a/pesign-obs-integration.spec +++ b/pesign-obs-integration.spec @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + Name: pesign-obs-integration Summary: Macros and scripts to sign the kernel and bootloader License: GPL-2.0 diff --git a/pesign-repackage.spec.in b/pesign-repackage.spec.in index c5b8367..5cde476 100644 --- a/pesign-repackage.spec.in +++ b/pesign-repackage.spec.in @@ -84,6 +84,12 @@ for rpm in %_sourcedir/*.rpm; do rpms=("${rpms[@]}" "$rpm") done popd +for log in %_sourcedir/*.log; do + if test -e "$log"; then + mkdir -p "%_topdir/OTHER" + cp "$log" "$_" + fi +done mkdir rsasigned pushd rsasigned cpio -idm <%_sourcedir/@NAME@.cpio.rsasign.sig