From 8db2fb1ef70cddb793a2cb77d24308cb1b90ac02 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 19 Oct 2018 14:35:40 +0200 Subject: [PATCH] No shim for fwup --- prepare-root.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/prepare-root.sh b/prepare-root.sh index eff2023..a2a4279 100755 --- a/prepare-root.sh +++ b/prepare-root.sh @@ -645,6 +645,11 @@ if [[ -f "$sysroot"/etc/modprobe.d/kvm.conf ]]; then sed -i -e 's/#options/options/g' "$sysroot"/etc/modprobe.d/kvm.conf fi +if [[ -f /etc/fwupd/uefi.conf ]]; then + sed -i -e 's#RequireShimForSecureBoot=.*#RequireShimForSecureBoot=false#g' \ + /etc/fwupd/uefi.conf +fi + #--------------- # CA chroot "$sysroot" update-ca-trust