Accepting request 512282 from home:bmwiedemann:branches:Base:System

Make grub2.info build reproducible (boo#1047218)

leaving the only remaining diff in grub.xen (some ordering issue)
from ./grub-mkstandalone --grub-mkimage=./grub-mkimage -o grub.xen -O x86_64-xen -d grub-core/ /boot/grub/grub.cfg=/home/abuild/rpmbuild/SOURCES/grub2-xen-pv-firmware.cfg
http://rb.zq1.de/compare.factory-20170713/grub2-compare.out

OBS-URL: https://build.opensuse.org/request/show/512282
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=273
This commit is contained in:
Michael Chang 2017-07-25 06:31:39 +00:00 committed by Git OBS Bridge
parent f016317030
commit 00508796e7
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jul 24 13:39:25 UTC 2017 - bwiedemann@suse.com
- Make grub2.info build reproducible (boo#1047218)
-------------------------------------------------------------------
Tue Jul 4 16:56:33 UTC 2017 - arvidjaar@gmail.com

View File

@ -524,6 +524,11 @@ swap partition while in resuming
%patch409 -p1
%patch410 -p1
%patch411 -p1
# patches above may update the timestamp of grub.texi
# and via build-aux/mdate-sh they end up in grub2.info, breaking build-compare
[ -z "$SOURCE_DATE_EPOCH" ] ||\
[ `stat -c %Y docs/grub.texi` -lt $SOURCE_DATE_EPOCH ] ||\
touch -d@$SOURCE_DATE_EPOCH docs/grub.texi
# This simplifies patch handling without need to use git to create patch
# that renames file