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

Submitted by:  Bernhard M. <bmwiedemann>
Submitted on:  Mon 15 Oct 2018 03:30:43 PM UTC  
 
Category:  None Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Release: 
Release:  2.02 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>

 

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 bmwiedemann (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follows 1 latest change.

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

    Back to the top


    Powered by Savane 3.3