1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY efibootmgr-download-http "https://github.com/rhboot/efibootmgr/archive/&efibootmgr-version;/efibootmgr-&efibootmgr-version;.tar.gz">
|
---|
8 | <!ENTITY efibootmgr-download-ftp " ">
|
---|
9 | <!ENTITY efibootmgr-md5sum "6ae315936d9bc8613b3a4cb8a4064128">
|
---|
10 | <!ENTITY efibootmgr-size "44 KB">
|
---|
11 | <!ENTITY efibootmgr-buildsize "592 KB">
|
---|
12 | <!ENTITY efibootmgr-time "less than 0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="efibootmgr" xreflabel="efibootmgr-&efibootmgr-version;">
|
---|
16 | <?dbhtml filename="efibootmgr.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <date>$Date$</date>
|
---|
20 | </sect1info>
|
---|
21 |
|
---|
22 | <title>efibootmgr-&efibootmgr-version;</title>
|
---|
23 |
|
---|
24 | <indexterm zone="efibootmgr">
|
---|
25 | <primary sortas="a-efibootmgr">efibootmgr</primary>
|
---|
26 | </indexterm>
|
---|
27 |
|
---|
28 | <sect2 role="package">
|
---|
29 | <title>Introduction to efibootmgr</title>
|
---|
30 |
|
---|
31 | <para>
|
---|
32 | The <application>efibootmgr</application> package provides tools and
|
---|
33 | libraries to manipulate EFI variables.
|
---|
34 | </para>
|
---|
35 |
|
---|
36 | &lfs111_checked;
|
---|
37 |
|
---|
38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
39 | <itemizedlist spacing="compact">
|
---|
40 | <listitem>
|
---|
41 | <para>
|
---|
42 | Download (HTTP): <ulink url="&efibootmgr-download-http;"/>
|
---|
43 | </para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>
|
---|
47 | Download (FTP): <ulink url="&efibootmgr-download-ftp;"/>
|
---|
48 | </para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>
|
---|
52 | Download MD5 sum: &efibootmgr-md5sum;
|
---|
53 | </para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>
|
---|
57 | Download size: &efibootmgr-size;
|
---|
58 | </para>
|
---|
59 | </listitem>
|
---|
60 | <listitem>
|
---|
61 | <para>
|
---|
62 | Estimated disk space required: &efibootmgr-buildsize;
|
---|
63 | </para>
|
---|
64 | </listitem>
|
---|
65 | <listitem>
|
---|
66 | <para>
|
---|
67 | Estimated build time: &efibootmgr-time;
|
---|
68 | </para>
|
---|
69 | </listitem>
|
---|
70 | </itemizedlist>
|
---|
71 |
|
---|
72 | <bridgehead renderas="sect3">efibootmgr Dependencies</bridgehead>
|
---|
73 |
|
---|
74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
75 | <para role="required">
|
---|
76 | <xref linkend="efivar"/> and
|
---|
77 | <xref linkend="popt"/>
|
---|
78 | </para>
|
---|
79 |
|
---|
80 | <para condition="html" role="usernotes">User Notes:
|
---|
81 | <ulink url="&blfs-wiki;/efibootmgr"/></para>
|
---|
82 |
|
---|
83 | </sect2>
|
---|
84 |
|
---|
85 | <sect2 role="installation">
|
---|
86 | <title>Installation of efibootmgr</title>
|
---|
87 |
|
---|
88 | <para>
|
---|
89 | At first, fix an outdated hotfix declaration causing compilation
|
---|
90 | failure:
|
---|
91 | </para>
|
---|
92 |
|
---|
93 | <screen><userinput>sed -e '/extern int efi_set_verbose/d' -i src/efibootmgr.c</userinput></screen>
|
---|
94 |
|
---|
95 | <para>
|
---|
96 | Fix an issue building this package with efivar-38 or later:
|
---|
97 | </para>
|
---|
98 |
|
---|
99 | <screen><userinput>sed 's/-Werror//' -i Make.defaults</userinput></screen>
|
---|
100 |
|
---|
101 | <para>
|
---|
102 | Build <application>efibootmgr</application> with the following
|
---|
103 | commands:
|
---|
104 | </para>
|
---|
105 |
|
---|
106 | <screen><userinput>make EFIDIR=LFS EFI_LOADER=grubx64.efi</userinput></screen>
|
---|
107 |
|
---|
108 | <para>
|
---|
109 | This package does not have a test suite.
|
---|
110 | </para>
|
---|
111 |
|
---|
112 | <para>
|
---|
113 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
114 | </para>
|
---|
115 |
|
---|
116 | <screen role="root"><userinput>make install EFIDIR=LFS</userinput></screen>
|
---|
117 |
|
---|
118 | </sect2>
|
---|
119 |
|
---|
120 | <sect2 role="commands">
|
---|
121 | <title>Command Explanations</title>
|
---|
122 |
|
---|
123 | <para>
|
---|
124 | <parameter>EFIDIR=LFS</parameter>:
|
---|
125 | This option specifies the distro's subdirectory name under
|
---|
126 | <filename class="directory">/boot/efi/EFI</filename>.
|
---|
127 | The building system of this package needs it to be set explicitly.
|
---|
128 | </para>
|
---|
129 |
|
---|
130 | <para>
|
---|
131 | <parameter>EFI_LOADER=grubx64.efi</parameter>:
|
---|
132 | This option specifies the name of the default EFI boot loader. It is
|
---|
133 | set to match the EFI boot loader provided by GRUB
|
---|
134 | <!--xref linkend="grub-efi"/-->.
|
---|
135 | </para>
|
---|
136 | </sect2>
|
---|
137 |
|
---|
138 | <sect2 role="content">
|
---|
139 | <title>Contents</title>
|
---|
140 |
|
---|
141 | <segmentedlist>
|
---|
142 | <segtitle>Installed Programs</segtitle>
|
---|
143 |
|
---|
144 | <seglistitem>
|
---|
145 | <seg>
|
---|
146 | efibootdump and efibootmgr
|
---|
147 | </seg>
|
---|
148 | </seglistitem>
|
---|
149 | </segmentedlist>
|
---|
150 |
|
---|
151 | <variablelist>
|
---|
152 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
153 | <?dbfo list-presentation="list"?>
|
---|
154 | <?dbhtml list-presentation="table"?>
|
---|
155 |
|
---|
156 | <varlistentry id="efibootdump">
|
---|
157 | <term><command>efibootdump</command></term>
|
---|
158 | <listitem>
|
---|
159 | <para>
|
---|
160 | is a tool to display individual UEFI boot options, from a file
|
---|
161 | or an UEFI variable
|
---|
162 | </para>
|
---|
163 | <indexterm zone="efibootdump">
|
---|
164 | <primary sortas="b-efibootdump">efibootdump</primary>
|
---|
165 | </indexterm>
|
---|
166 | </listitem>
|
---|
167 | </varlistentry>
|
---|
168 |
|
---|
169 | <varlistentry id="efibootmgr-prog">
|
---|
170 | <term><command>efibootmgr</command></term>
|
---|
171 | <listitem>
|
---|
172 | <para>
|
---|
173 | is a tool to manipulate the UEFI Boot Manager
|
---|
174 | </para>
|
---|
175 | <indexterm zone="efibootmgr efibootmgr-prog">
|
---|
176 | <primary sortas="b-efibootmgr">efibootmgr</primary>
|
---|
177 | </indexterm>
|
---|
178 | </listitem>
|
---|
179 | </varlistentry>
|
---|
180 |
|
---|
181 | </variablelist>
|
---|
182 |
|
---|
183 | </sect2>
|
---|
184 |
|
---|
185 | </sect1>
|
---|