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

Sort tar file order for reproducible builds

OBS-URL: https://build.opensuse.org/request/show/1144993
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=486
This commit is contained in:
Michael Chang 2024-02-16 07:02:37 +00:00 committed by Git OBS Bridge
parent 85be654ad4
commit ae6742b64d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 7 18:33:58 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
- Sort tar file order for reproducible builds
-------------------------------------------------------------------
Tue Feb 6 07:19:27 UTC 2024 - Michael Chang <mchang@suse.com>

View File

@ -742,7 +742,7 @@ mkdir -p ./fonts
cp %{_datadir}/%{name}/themes/*/*.pf2 ./fonts
cp ./unicode.pf2 ./fonts
%if 0%{?suse_version} > 1500
tar -cf - ./fonts | mksquashfs - memdisk.sqsh -tar -comp xz -quiet -no-progress
tar -sort=name -cf - ./fonts | mksquashfs - memdisk.sqsh -tar -comp xz -quiet -no-progress
%else
mksquashfs ./fonts memdisk.sqsh -keep-as-directory -comp xz -quiet -no-progress
%endif