Ignore:
Timestamp:
05/09/2024 09:19:53 AM (2 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
lazarus, trunk
Children:
599ac65
Parents:
338e204
Message:

grub-efi: No longer assume LFS grub is skipped (#19612)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/filesystems/uefi-bootloaders/grub-efi.xml

    r338e204 rce4d00e  
    121121    <bridgehead renderas="sect4">Optional</bridgehead>
    122122    <para role="optional">
    123       <xref linkend="lvm2"/>
    124     </para>
    125 
    126 
     123      <xref linkend="lvm2"/> and
     124      <xref linkend="fuse3"/>
     125    </para>
    127126  </sect2>
    128127
     
    192191
    193192    <para>
    194       Now, as the <systemitem class="username">root</systemitem> user:
    195     </para>
    196 
    197 <screen role="root"><userinput>make install &amp;&amp;
     193      Now, if you've skip the LFS GRUB package, as the
     194      <systemitem class="username">root</systemitem> user:
     195    </para>
     196
     197<screen role="nodump"><userinput>make install &amp;&amp;
    198198mv -v /etc/bash_completion.d/grub /usr/share/bash-completion/completions</userinput></screen>
     199
     200    <para>
     201      If you've not skip LFS GRUB package, as the &root; user, only install
     202      the components not installed from the LFS GRUB package instead:
     203    </para>
     204
     205<screen role="root"><userinput>make DESTDIR=$PWD/dest install
     206cp -av dest/usr/lib/grub/x86_64-efi -T /usr/lib/grub/x86_64-efi
     207cp -av dest/usr/share/grub/*.{pf2,h}   /usr/share/grub
     208cp -av dest/usr/bin/grub-mkfont        /usr/bin</userinput></screen>
     209
     210    <para>
     211      If the optional dependencies are installed, also install the
     212      <command>grub-mount</command> program:
     213    </para>
     214
     215<screen role="nodump"><userinput>cp -av dest/usr/bin/grub-mount /usr/bin</userinput></screen>
    199216
    200217  </sect2>
     
    252269    <title>Contents</title>
    253270
    254     <para>See the page for GRUB in LFS book.</para>
     271    <para>
     272      A list of the installed files, along with their short
     273      descriptions can be found at
     274      <ulink url="&lfs-root;/chapter08/grub.html#contents-gRUB"/>.
     275    </para>
     276
     277    <para>
     278      Listed below are the newly installed programs
     279      along with short descriptions.
     280    </para>
     281
     282    <segmentedlist>
     283      <segtitle>Installed Programs</segtitle>
     284      <segtitle>Installed Directories</segtitle>
     285
     286      <seglistitem>
     287        <seg>grub-mkfont and grub-mount (optional)</seg>
     288        <seg>/usr/lib/grub/x86_64-efi</seg>
     289      </seglistitem>
     290    </segmentedlist>
     291
     292    <variablelist>
     293      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
     294      <?dbfo list-presentation="list"?>
     295      <?dbhtml list-presentation="table"?>
     296
     297      <varlistentry id="grub-mkfont">
     298        <term><command>grub-mkfont</command></term>
     299        <listitem>
     300          <para>
     301            converts common font file formats into PF2
     302          </para>
     303          <indexterm zone="grub-efi grub-mkfont">
     304            <primary sortas="b-grub-mkfont">grub-mkfont</primary>
     305          </indexterm>
     306        </listitem>
     307      </varlistentry>
     308
     309      <varlistentry id="grub-mount">
     310        <term><command>grub-mount</command></term>
     311        <listitem>
     312          <para>
     313            is a debug tool for filesystem driver
     314          </para>
     315          <indexterm zone="grub-efi grub-mount">
     316            <primary sortas="b-grub-mount">grub-mount</primary>
     317          </indexterm>
     318        </listitem>
     319      </varlistentry>
     320    </variablelist>
     321
    255322  </sect2>
    256323
Note: See TracChangeset for help on using the changeset viewer.