Installing grub via triggers instead of duplicating code in shim signed and friends
Julian Andres Klode
jak at debian.org
Mon Jul 13 17:14:24 BST 2020
Hi folks,
I was wondering if it would make sense to invoke grub-install
via (await) triggers from shim-signed and friends, rather than
calling grub-install in the postinst.
In Ubuntu, we have patched grub to install to multiple ESPs,
by means of a script which does the whole debconf dance similar
to the logic for installing to MBRs, which exists mostly only
because we need to be able to access this logic from shim and
friends (not sure which packages entirely).
This also caused a few problems, as apparently the debconf
template needs to be in each package that calls that helper
script now, otherwise debconf can't find it (sometimes).
While thinking about this it occured to me that instead
of a script and invoking that explicitly, it would be much
nicer to just trigger the grub package - although I'm not
exactly sure _which_ grub package yet.
What do you guys think?
--
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer i speak de, en
More information about the Pkg-grub-devel
mailing list