[Git-commits] [grml/grml-debootstrap] 1ca3ec: EFI support: fix for grub-install usage with efivarfs

Michael Prokop noreply at github.com
Mon Aug 23 16:23:31 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-debootstrap
  Commit: 1ca3ec59aeb6d70c7621bebe7ba2bf2fd38bbbf1
      https://github.com/grml/grml-debootstrap/commit/1ca3ec59aeb6d70c7621bebe7ba2bf2fd38bbbf1
  Author: Michael Prokop <mika at grml.org>
  Date:   2021-08-23 (Mon, 23 Aug 2021)

  Changed paths:
    M chroot-script

  Log Message:
  -----------
  EFI support: fix for grub-install usage with efivarfs

We had to apply fixes due to efivars vs efivarfs in Debian kernel
versions >=5.10, and addressed them in commit d91d9f3ef.

Those changes were incomplete though: while efibootmgr was invoked in
the according and expected environment, invocation of grub-install
doesn't reliably work (as at that time /sys/firmware/efi/efivars is no
longer accessible).

GRUB installation on EFI systems without /sys/firmware/efi/efivars
present warns with (also see https://sources.debian.org/src/grub2/2.04-20/debian/patches/efi-variable-storage-minimise-writes.patch/?hl=650#L650):

| EFI variables are not supported on this system

But it returns with exit code 0. This leaves us with an incomplete and
therefore not booting GRUB EFI environment. Fix it by unmounting
/sys/firmware/efi/efivars only from within our final stage.


  Commit: b45ae94113e04d6faf3cf82a39c3cf6f799b18fb
      https://github.com/grml/grml-debootstrap/commit/b45ae94113e04d6faf3cf82a39c3cf6f799b18fb
  Author: Michael Prokop <mika at grml.org>
  Date:   2021-08-23 (Mon, 23 Aug 2021)

  Changed paths:
    M debian/control

  Log Message:
  -----------
  Bump Standards-Version to 4.6.0


  Commit: b1008a63920208df5814d8c10543f1a7032187da
      https://github.com/grml/grml-debootstrap/commit/b1008a63920208df5814d8c10543f1a7032187da
  Author: Michael Prokop <mika at grml.org>
  Date:   2021-08-23 (Mon, 23 Aug 2021)

  Changed paths:
    M debian/changelog

  Log Message:
  -----------
  Release new version 0.99


Compare: https://github.com/grml/grml-debootstrap/compare/86f83aa4b504...b1008a639202


More information about the Git-commits mailing list