[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: bootloader: grub: Use the all_video module in graphic mode.
From: |
guix-commits |
Subject: |
01/02: bootloader: grub: Use the all_video module in graphic mode. |
Date: |
Tue, 17 Mar 2020 23:30:37 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit aaffde38b54c978e2425fa88eea733dc80f87444
Author: Maxim Cournoyer <address@hidden>
AuthorDate: Wed Feb 19 15:35:46 2020 -0500
bootloader: grub: Use the all_video module in graphic mode.
* gnu/bootloader/grub.scm (eye-candy): Load the module 'all_video'
which automatically loads all the available and relevant video
modules.
---
gnu/bootloader/grub.scm | 16 ++--------------
1 file changed, 2 insertions(+), 14 deletions(-)
diff --git a/gnu/bootloader/grub.scm b/gnu/bootloader/grub.scm
index b99f5fa..36a964e 100644
--- a/gnu/bootloader/grub.scm
+++ b/gnu/bootloader/grub.scm
@@ -4,6 +4,7 @@
;;; Copyright © 2017 Leo Famulari <address@hidden>
;;; Copyright © 2017 Mathieu Othacehe <address@hidden>
;;; Copyright © 2019 Jan (janneke) Nieuwenhuizen <address@hidden>
+;;; Copyright © 2020 Maxim Cournoyer <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -162,21 +163,8 @@ system string---e.g., \"x86_64-linux\"."
(string-append "set gfxmode=" (string-join gfxmode ";"))
"# Leave 'gfxmode' to 'auto'."))
"
- insmod video_bochs
- insmod video_cirrus
+ insmod all_video
insmod gfxterm
-
- if [ \"${grub_platform}\" == efi ]; then
- # This is for (U)EFI systems (these modules are unavailable in the
- # non-EFI GRUB.) If we don't load them, GRUB boots in \"blind mode\",
- # which isn't convenient.
- insmod efi_gop
- insmod efi_uga
- else
- # These are specific to non-EFI Intel machines.
- insmod vbe
- insmod vga
- fi
")
""))