source: postlfs/filesystems/uefi-bootloaders/efivar.xml

trunk
Last change on this file was a9922f2, checked in by Xi Ruoyao <xry111@…>, 2 months ago

uefi-bootloaders: Tag

  • Property mode set to 100644
File size: 6.5 KB
RevLine 
[ab4fdfc]1<?xml version="1.0" encoding="UTF-8"?>
[756a787]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
[e5249951]7 <!ENTITY efivar-download-http "https://github.com/rhboot/efivar/archive/&efivar-version;/efivar-&efivar-version;.tar.gz">
[756a787]8 <!ENTITY efivar-download-ftp " ">
[e5249951]9 <!ENTITY efivar-md5sum "a8fc3e79336cd6e738ab44f9bc96a5aa">
10 <!ENTITY efivar-size "456 KB">
11 <!ENTITY efivar-buildsize "21 MB">
[756a787]12 <!ENTITY efivar-time "less than 0.1 SBU">
13]>
14
15<sect1 id="efivar" xreflabel="efivar-&efivar-version;">
16 <?dbhtml filename="efivar.html"?>
17
18
19 <title>efivar-&efivar-version;</title>
20
21 <indexterm zone="efivar">
22 <primary sortas="a-efivar">efivar</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to efivar</title>
27
28 <para>
29 The <application>efivar</application> package provides tools and
30 libraries to manipulate EFI variables.
31 </para>
32
[a9922f2]33 &lfs121_checked;
[756a787]34
35 <bridgehead renderas="sect3">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&efivar-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&efivar-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &efivar-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &efivar-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &efivar-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &efivar-time;
65 </para>
66 </listitem>
67 </itemizedlist>
[e5249951]68<!--
[99ae185e]69 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
70 <itemizedlist spacing="compact">
71 <listitem>
72 <para>
[4f464d8e]73 Optional patch (Required for 32-bit systems):
[99ae185e]74 <ulink url="&patch-root;/efivar-&efivar-version;-i686-1.patch"/>
75 </para>
76 </listitem>
77 </itemizedlist>
[e5249951]78-->
[7a91c80]79 <bridgehead renderas="sect3">efivar Dependencies</bridgehead>
80
[e5249951]81 <bridgehead renderas="sect4">Recommended</bridgehead>
82 <para role="recommended">
[7a91c80]83 <xref linkend="mandoc"/>
84 </para>
[756a787]85
86 </sect2>
87
88 <sect2 role="installation">
89 <title>Installation of efivar</title>
90
[4f464d8e]91 <note>
92 <para>
93 This package cannot function properly on a 32-bit system with a
94 64-bit UEFI implementation. Don't install this package (or
95 efibootmgr) on 32-bit system unless you are absolutely sure you have
96 a 32-bit UEFI implementation, which is very rare in practice.
97 </para>
98 </note>
99
[756a787]100 <para>
[d5cc78a]101 Build <application>efivar</application> with the following commands:
[756a787]102 </para>
103
[e5249951]104<screen><userinput>make</userinput></screen>
[756a787]105
106 <para>
107 The test suite of this package is dangerous. Running it may trigger
108 firmware bugs and make your system unusable without using some special
109 hardware to reprogram the firmware.
110 </para>
111
112 <para>
113 Now, as the <systemitem class="username">root</systemitem> user:
114 </para>
115
[cd73bb8]116<screen role="root"><userinput>make install LIBDIR=/usr/lib</userinput></screen>
[756a787]117
118 </sect2>
119
120 <sect2 role="commands">
121 <title>Command Explanations</title>
122
123 <para>
124 <parameter>LIBDIR=/usr/lib</parameter>:
125 This option overrides the default library directory of the package
126 (<filename class="directory">/usr/lib64</filename>, which is not used
[e5249951]127 by LFS).
128 </para>
129
130 <para>
131 <option>ENABLE_DOCS=0</option>: Disable the generation of man pages.
132 Append this option after the <command>make</command> and
133 <command>make install</command> commands if you don't need the man
134 pages to allow building this package without <xref linkend='mandoc'/>
135 installed.
[756a787]136 </para>
137
138 </sect2>
139
140 <sect2 role="content">
141 <title>Contents</title>
142
143 <segmentedlist>
144 <segtitle>Installed Programs</segtitle>
145 <segtitle>Installed Libraries</segtitle>
146 <segtitle>Installed Directories</segtitle>
147
148 <seglistitem>
149 <seg>
[7a91c80]150 efisecdb and efivar
[756a787]151 </seg>
152 <seg>
[7a91c80]153 libefiboot.so, libefisec.so, and libefivar.so
[756a787]154 </seg>
155 <seg>
156 /usr/include/efivar
157 </seg>
158 </seglistitem>
159 </segmentedlist>
160
161 <variablelist>
162 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
163 <?dbfo list-presentation="list"?>
164 <?dbhtml list-presentation="table"?>
165
[7a91c80]166 <varlistentry id="efisecdb">
167 <term><command>efisecdb</command></term>
168 <listitem>
169 <para>
170 is an utility for managing UEFI signature lists
171 </para>
172 <indexterm zone="efivar efisecdb">
173 <primary sortas="b-efisecdb">efisecdb</primary>
174 </indexterm>
175 </listitem>
176 </varlistentry>
177
[756a787]178 <varlistentry id="efivar-prog">
179 <term><command>efivar</command></term>
180 <listitem>
181 <para>
182 is a tool to manipulate UEFI variables
183 </para>
184 <indexterm zone="efivar efivar-prog">
185 <primary sortas="b-efivar">efivar</primary>
186 </indexterm>
187 </listitem>
188 </varlistentry>
189
190 <varlistentry id="libefiboot">
191 <term><filename class="libraryfile">libefiboot.so</filename></term>
192 <listitem>
193 <para>
194 is a library used by <command>efibootmgr</command>
195 </para>
196 <indexterm zone="efivar libefiboot">
197 <primary sortas="c-libefiboot">libefiboot.so</primary>
198 </indexterm>
199 </listitem>
200 </varlistentry>
201
[7a91c80]202 <varlistentry id="libefisec">
203 <term><filename class="libraryfile">libefisec.so</filename></term>
204 <listitem>
205 <para>
206 is a library for managing UEFI signature lists
207 </para>
208 <indexterm zone="efivar libefisec">
209 <primary sortas="c-libefisec">libefisec.so</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
[756a787]214 <varlistentry id="libefivar">
215 <term><filename class="libraryfile">libefivar.so</filename></term>
216 <listitem>
217 <para>
218 is a library for the manipulation of EFI variables
219 </para>
[e5249951]220 <indexterm zone="efivar libefivar">
221 <primary sortas="c-libefivar">libefivar.so</primary>
[756a787]222 </indexterm>
223 </listitem>
224 </varlistentry>
225
226 </variablelist>
227
228 </sect2>
229
230</sect1>
Note: See TracBrowser for help on using the repository browser.