From 9198e55c948f67b7dafd80d72aa421c44e32269d Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Mon, 1 Aug 2022 12:22:54 -0700 Subject: GRUB:GRUB-INSTALLED: fix --no-nvram logic Signed-off-by: Sean Whitton --- src/property/grub.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/property/grub.lisp b/src/property/grub.lisp index d2cbdfc..8fe7884 100644 --- a/src/property/grub.lisp +++ b/src/property/grub.lisp @@ -48,7 +48,7 @@ (mrun :inform "update-grub") (when os-prober (file:has-mode "/etc/grub.d/30_os-prober" #o755))) (mrun :inform "grub-install" (strcat "--target=" target) - (and (string-suffix-p target "-efi") running-on-target + (and (string-suffix-p target "-efi") (not running-on-target) "--no-nvram") (and force-extra-removable "--force-extra-removable") (device-file volume))))) -- cgit v1.2.3