[lfs] 01/04: grub: remove efi_gop and efi_uga

git Owner ([email protected] via lfs-book Mailing List) <[email protected]> Fri, 31 Jul 2026 20:14:13 +0000
Newsgroups gmane.linux.lfs.book
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1785528860-1024790-7011
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository lfs.

commit ec0e7ef24db6080ee274c787c3ae2379c08d5ef2
Author: Xi Ruoyao <[email protected]>
AuthorDate: Mon Jul 27 03:49:57 2026 +0800

    grub: remove efi_gop and efi_uga
    
    They are not useful now as we no longer use gfxterm.
---
 chapter10/grub.xml | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)

diff --git a/chapter10/grub.xml b/chapter10/grub.xml
index ee1d08796..6ec526cf8 100644
--- a/chapter10/grub.xml
+++ b/chapter10/grub.xml
@@ -288,34 +288,21 @@ insmod part_gpt
 insmod ext2
 
 set root=(hd0,2)
-
-# For UEFI
-insmod efi_gop
-insmod efi_uga
-
 set gfxpayload=1024x768x32
 
 menuentry "GNU/Linux, Linux &linux-version;-lfs-&version;" {
         linux   /boot/vmlinuz-&linux-version;-lfs-&version; root=/dev/sda2 ro
 }</literal>
 EOF</userinput></screen>
-<!-- GOP is probably not needed anyhow, since we're not using terminal_output
-     gfxterm. -->
 
     <para>
       The <command>insmod</command> commands load the
       <application>GRUB</application> modules named
-      <filename>part_gpt</filename>, <filename>ext2</filename>,
-      <filename>efi_gop</filename>, and
-      <filename>efi_uga</filename>.
+      <filename>part_gpt</filename> and <filename>ext2</filename>.
       Despite the naming, <filename>ext2</filename> actually supports
       <systemitem class='filesystem'>ext2</systemitem>,
       <systemitem class='filesystem'>ext3</systemitem>, and
       <systemitem class='filesystem'>ext4</systemitem> filesystems.
-      On UEFI systems, <filename>efi_gop</filename> and
-      <filename>efi_uga</filename> are for video support. GOP, or Graphics
-      Output Protocol, is the modern approach. UGA, or Universal Graphics
-      Adaptor, is a legacy way of handling it.
       In a typical configuration, the <filename>part_gpt</filename> and
       <filename>ext2</filename> modules are already embedded in
       the main GRUB image by <command>grub-install</command>, and the

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

------------=_1785528860-1024790-7011
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page

------------=_1785528860-1024790-7011--