aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-08-01 12:22:54 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-08-01 12:22:54 -0700
commit9198e55c948f67b7dafd80d72aa421c44e32269d (patch)
treef8b4f92f7f485f038cfbe105b30e54ba1de1d124
parent94a10f08b087afa25cd7757e1ad2ad4c9a82f63b (diff)
downloadconsfigurator-9198e55c948f67b7dafd80d72aa421c44e32269d.tar.gz
GRUB:GRUB-INSTALLED: fix --no-nvram logic
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-rw-r--r--src/property/grub.lisp2
1 files changed, 1 insertions, 1 deletions
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)))))