bugGNU GRUB - Bugs: bug #54841, grub-mkstandalone output is not...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #54841: grub-mkstandalone output is not reproducible

Submitter:  Bernhard M. <bmwiedemann>
Submitted:  Mon 15 Oct 2018 03:30:43 PM UTC
Votes: 10
 
Category:  None Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Release:  2.02
Release:  Reproducibility:  None
Planned Release:  None

Mon 15 Oct 2018 03:30:43 PM UTC, original submission:  

While working on reproducible builds for openSUSE, I found that
the grub2 package's grub.xen differed in every build.
It is generated by
./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

which embeds mtimes of files and also uses indeterministic readdir order in add_tar_file

The mtimes can be fixed with the attached patch.

Can POSIX scandir be used in that code?
That could solve the readdir issue.

Bernhard M. <bmwiedemann>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #45202:  reproducible.patch added by bmwiedemann (1KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by nl6720 (Voted in favor of this item)
  • -email is unavailable- added by bmwiedemann (Submitted the item)
  •  

    There are 10 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-02-17 nl6720 Carbon-Copy- Added nl6720
    2018-10-15 bmwiedemann Attached File- Added reproducible.patch, #45202

    Back to the top

    Powered by Savane 3.13-54b4.
    Corresponding source code