Bug#931917: grub-installer: call efibootmgr (if available) to keep track of boot order/options

2019-07-13 Thread Cyril Brulebois
Control: tag -1 patch

Cyril Brulebois  (2019-07-12):
> With stretch, we were getting efibootmgr's output in the installer's
> syslog, which could help track down issues related to the boot sequence.
> 
> With buster, due to grub2's switch to using libefi* (since both the
> 2.02+dfsg1-14 and 2.02+dfsg1-15 uploads), efibootmgr is no longer used;
> it's kept in Recommends (since 2.02+dfsg1-17) though.
> 
> It would be great to check whether efibootmgr is present and to call it
> to get its output back into the installer's syslog.
> 
> This would have been helpful for the #931910 installation report, for
> example.
> 
> 
> Once it's implemented and tested in unstable/testing, I'll consider
> backporting this for a buster point release.

Untested commit pushed in the pu/efibootmgr-for-debugging-931917 branch.

Review/tests welcome!


Cheers,
-- 
Cyril Brulebois (k...@debian.org)
D-I release manager -- Release team member -- Freelance Consultant


signature.asc
Description: PGP signature


Bug#931917: grub-installer: call efibootmgr (if available) to keep track of boot order/options

2019-07-12 Thread Cyril Brulebois
Package: grub-installer
Version: 1.165
Severity: important

With stretch, we were getting efibootmgr's output in the installer's
syslog, which could help track down issues related to the boot sequence.

With buster, due to grub2's switch to using libefi* (since both the
2.02+dfsg1-14 and 2.02+dfsg1-15 uploads), efibootmgr is no longer used;
it's kept in Recommends (since 2.02+dfsg1-17) though.

It would be great to check whether efibootmgr is present and to call it
to get its output back into the installer's syslog.

This would have been helpful for the #931910 installation report, for
example.


Once it's implemented and tested in unstable/testing, I'll consider
backporting this for a buster point release.


Cheers,
-- 
Cyril Brulebois (k...@debian.org)
D-I release manager -- Release team member -- Freelance Consultant