Bug#991927: grub2: reproducible builds: embeds /bin/sh or /bin/bash depending on /bin/sh symlink

Vagrant Cascadian vagrant at reproducible-builds.org
Thu Aug 5 23:04:45 BST 2021


Source: grub2
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: shell
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Various modinfo.sh files embed either /bin/bash or /bin/sh depending on
what the /bin/sh symlink points to:

  https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/grub2.html

  ./usr/lib/grub/i386-coreboot/modinfo.sh

  #!/bin/bash
  vs.
  #!/bin/sh


The attached patch fixes this by passing SHELL=/bin/bash to configure in
debian/rules.
 

There are still several other outstanding issues affecting the
reproducibility of grub2, but this should help reduce the differences to
troubleshoot the remaining issues.


Thanks for maintaining grub2!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-pass-SHELL-bin-bash-to-configure.patch
Type: text/x-diff
Size: 996 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20210805/1b36899e/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20210805/1b36899e/attachment.sig>


More information about the Reproducible-bugs mailing list