From 04ada31ea6cee1df46dc7ffc61b66eeb135f387209b6c9e247be2d16f8545cb1 Mon Sep 17 00:00:00 2001 From: Gary Ching-Pang Lin Date: Sat, 22 Jul 2017 13:51:59 +0000 Subject: [PATCH] Accepting request 510387 from home:bmwiedemann:branches:devel:openSUSE:Factory Make build reproducible by avoiding race between find and cp OBS-URL: https://build.opensuse.org/request/show/510387 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory/shim?expand=0&rev=129 --- shim.changes | 5 +++++ shim.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/shim.changes b/shim.changes index 837958d..03532fa 100644 --- a/shim.changes +++ b/shim.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 14 16:40:52 UTC 2017 - bwiedemann@suse.com + +- Make build reproducible by avoiding race between find and cp + ------------------------------------------------------------------- Thu Jun 22 03:26:00 UTC 2017 - glin@suse.com diff --git a/shim.spec b/shim.spec index 31f8ea6..4434e21 100644 --- a/shim.spec +++ b/shim.spec @@ -196,8 +196,9 @@ ln -s shim-${suffixes[0]}.efi shim.efi mv shim-${suffixes[0]}.debug shim.debug # Collect the source for debugsource -mkdir source -find . \( -name "*.c" -o -name "*.h" \) -type f -exec cp --parents -a {} source/ \; +mkdir ../source +find . \( -name "*.c" -o -name "*.h" \) -type f -exec cp --parents -a {} ../source/ \; +mv ../source . %install export BRP_PESIGN_FILES='%{_libdir}/efi/shim*.efi %{_libdir}/efi/MokManager.efi %{_libdir}/efi/fallback.efi'