guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: Pass "--target=i386-pc" when installing GRUB for legacy BIOS


From: Ricardo Wurmus
Subject: 02/02: gnu: Pass "--target=i386-pc" when installing GRUB for legacy BIOS.
Date: Sun, 18 Feb 2018 06:29:05 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 46fc9a7e0d50251a720e6cf0d51bb28e8bf7266b
Author: Ricardo Wurmus <address@hidden>
Date:   Sun Feb 18 12:25:12 2018 +0100

    gnu: Pass "--target=i386-pc" when installing GRUB for legacy BIOS.
    
    * gnu/bootloader/grub.scm (install-grub): Add "--target=i386-pc" to the list
    of arguments to "grub-install".
    
    Fixes <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30311>.
---
 gnu/bootloader/grub.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/bootloader/grub.scm b/gnu/bootloader/grub.scm
index 96e53c5..3b01125 100644
--- a/gnu/bootloader/grub.scm
+++ b/gnu/bootloader/grub.scm
@@ -386,7 +386,7 @@ submenu \"GNU system, old configurations...\" {~%")
         ;; root partition.
         (setenv "GRUB_ENABLE_CRYPTODISK" "y")
 
-        (unless (zero? (system* grub "--no-floppy"
+        (unless (zero? (system* grub "--no-floppy" "--target=i386-pc"
                                 "--boot-directory" install-dir
                                 device))
           (error "failed to install GRUB (BIOS)")))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]