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
This commit is contained in:
Gary Ching-Pang Lin 2016-11-29 08:50:09 +00:00 committed by Git OBS Bridge
parent da5516c552
commit 71d38ee384
3 changed files with 12 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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