Bug#908200: grub-efi-*-signed: mismatch between /EFI/vendor (used) and /EFI/debian (expected) when derivative uses unmodified Debian binary packages

Raphael Hertzog hertzog at debian.org
Fri Sep 21 12:47:10 BST 2018


Hi Luca,


On Fri, 21 Sep 2018, Luca Boccassi wrote:
> Maybe the changes could be simplified a bit by using the Efi-Vendor
> package metadata that was added in the same version?
> Something like this might work:
> 
> dpkg-query -f='${Efi-Vendor}' -W @PACKAGE at -bin

I'm not quite sure what part you would like to simplify. My patches do
hardcode this value in the (generated) postinst instead but it's
effectively the same value that is injected in that field and that is
hardcoded in the postinst.

The number of lines of code is the same in both cases. Maybe you move
one line from debian/rules in the postinst, but I don't think it's
a real improvement.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: https://www.freexian.com/services/debian-lts.html
Learn to master Debian: https://debian-handbook.info/get/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 523 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-grub-devel/attachments/20180921/0c7af463/attachment.sig>


More information about the Pkg-grub-devel mailing list