[Git-commits] [grml/grml-scripts] 7bbfe5: grml-chroot: support efivarfs in EFI environments

Michael Prokop noreply at github.com
Fri Jun 18 19:15:36 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-scripts
  Commit: 7bbfe5432568c69c9e4641466b52b9f6dcb6ee4e
      https://github.com/grml/grml-scripts/commit/7bbfe5432568c69c9e4641466b52b9f6dcb6ee4e
  Author: Michael Prokop <mika at grml.org>
  Date:   2021-06-09 (Wed, 09 Jun 2021)

  Changed paths:
    M usr_sbin/grml-chroot

  Log Message:
  -----------
  grml-chroot: support efivarfs in EFI environments

CONFIG_EFI_VARS is no longer available since Debian kernel's git commit
20146398c4, and therefore efivars (the older interface handled from
within /sys) is gone with the kernel version shipped as of
Debian/bullseye (kernel >=5.10).  Only the newer efivarfs interface is
supported, this requires explicit mounting of /sys/firmware/efi/efivars
though.

Therefore, whenever /sys/firmware/efi/efivars is available, we are
running in EFI mode and might need EFI support also in the chroot.
Accordingly mount it then.

This is related to the corresponding change in grml-debootstrap:
https://github.com/grml/grml-debootstrap/pull/174


  Commit: e18e3e5f9cd8e47281c580fab3a4acae49d97c08
      https://github.com/grml/grml-scripts/commit/e18e3e5f9cd8e47281c580fab3a4acae49d97c08
  Author: Michael Prokop <mika at grml.org>
  Date:   2021-06-18 (Fri, 18 Jun 2021)

  Changed paths:
    M usr_sbin/grml-chroot

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/github/pr/12'


Compare: https://github.com/grml/grml-scripts/compare/7b5dd59f2958...e18e3e5f9cd8


More information about the Git-commits mailing list