[756a787] | 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 efivar-download-http "https://github.com/rhboot/efivar/releases/download/&efivar-version;/efivar-&efivar-version;.tar.bz2">
|
---|
| 8 | <!ENTITY efivar-download-ftp " ">
|
---|
[7a91c80] | 9 | <!ENTITY efivar-md5sum "243fdbc48440212695cb9c6e6fd0f44f">
|
---|
| 10 | <!ENTITY efivar-size "316 KB">
|
---|
| 11 | <!ENTITY efivar-buildsize "18 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 | <sect1info>
|
---|
[fda29e4] | 19 | <date>$Date$</date>
|
---|
[756a787] | 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>efivar-&efivar-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="efivar">
|
---|
| 25 | <primary sortas="a-efivar">efivar</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to efivar</title>
|
---|
| 30 |
|
---|
| 31 | <para>
|
---|
| 32 | The <application>efivar</application> package provides tools and
|
---|
| 33 | libraries to manipulate EFI variables.
|
---|
| 34 | </para>
|
---|
| 35 |
|
---|
[7a91c80] | 36 | &lfs111_checked;
|
---|
[756a787] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>
|
---|
| 42 | Download (HTTP): <ulink url="&efivar-download-http;"/>
|
---|
| 43 | </para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>
|
---|
| 47 | Download (FTP): <ulink url="&efivar-download-ftp;"/>
|
---|
| 48 | </para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>
|
---|
| 52 | Download MD5 sum: &efivar-md5sum;
|
---|
| 53 | </para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>
|
---|
| 57 | Download size: &efivar-size;
|
---|
| 58 | </para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>
|
---|
| 62 | Estimated disk space required: &efivar-buildsize;
|
---|
| 63 | </para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>
|
---|
| 67 | Estimated build time: &efivar-time;
|
---|
| 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
| 71 |
|
---|
[7a91c80] | 72 | <bridgehead renderas="sect3">efivar Dependencies</bridgehead>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 75 | <para role="required">
|
---|
| 76 | <xref linkend="mandoc"/>
|
---|
| 77 | </para>
|
---|
[756a787] | 78 |
|
---|
| 79 | <para condition="html" role="usernotes">User Notes:
|
---|
| 80 | <ulink url="&blfs-wiki;/efivar"/></para>
|
---|
| 81 |
|
---|
| 82 | </sect2>
|
---|
| 83 |
|
---|
| 84 | <sect2 role="installation">
|
---|
| 85 | <title>Installation of efivar</title>
|
---|
| 86 |
|
---|
| 87 | <para>
|
---|
[7a91c80] | 88 | First, fix an issue in Makefile causing the package to be rebuilt
|
---|
| 89 | during installation:
|
---|
[756a787] | 90 | </para>
|
---|
| 91 |
|
---|
[7a91c80] | 92 | <screen><userinput>sed '/prep :/a\\ttouch prep' -i src/Makefile</userinput></screen>
|
---|
[756a787] | 93 |
|
---|
| 94 | <para>
|
---|
[d5cc78a] | 95 | Build <application>efivar</application> with the following commands:
|
---|
[756a787] | 96 | </para>
|
---|
| 97 |
|
---|
[7a91c80] | 98 | <screen><userinput>make</userinput></screen>
|
---|
[756a787] | 99 |
|
---|
| 100 | <para>
|
---|
| 101 | The test suite of this package is dangerous. Running it may trigger
|
---|
| 102 | firmware bugs and make your system unusable without using some special
|
---|
| 103 | hardware to reprogram the firmware.
|
---|
| 104 | </para>
|
---|
| 105 |
|
---|
| 106 | <para>
|
---|
| 107 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 108 | </para>
|
---|
| 109 |
|
---|
[cd73bb8] | 110 | <screen role="root"><userinput>make install LIBDIR=/usr/lib</userinput></screen>
|
---|
[756a787] | 111 |
|
---|
| 112 | </sect2>
|
---|
| 113 |
|
---|
| 114 | <sect2 role="commands">
|
---|
| 115 | <title>Command Explanations</title>
|
---|
| 116 |
|
---|
| 117 | <para>
|
---|
| 118 | <parameter>LIBDIR=/usr/lib</parameter>:
|
---|
| 119 | This option overrides the default library directory of the package
|
---|
| 120 | (<filename class="directory">/usr/lib64</filename>, which is not used
|
---|
| 121 | by LFS.)
|
---|
| 122 | </para>
|
---|
| 123 |
|
---|
| 124 | </sect2>
|
---|
| 125 |
|
---|
| 126 | <sect2 role="content">
|
---|
| 127 | <title>Contents</title>
|
---|
| 128 |
|
---|
| 129 | <segmentedlist>
|
---|
| 130 | <segtitle>Installed Programs</segtitle>
|
---|
| 131 | <segtitle>Installed Libraries</segtitle>
|
---|
| 132 | <segtitle>Installed Directories</segtitle>
|
---|
| 133 |
|
---|
| 134 | <seglistitem>
|
---|
| 135 | <seg>
|
---|
[7a91c80] | 136 | efisecdb and efivar
|
---|
[756a787] | 137 | </seg>
|
---|
| 138 | <seg>
|
---|
[7a91c80] | 139 | libefiboot.so, libefisec.so, and libefivar.so
|
---|
[756a787] | 140 | </seg>
|
---|
| 141 | <seg>
|
---|
| 142 | /usr/include/efivar
|
---|
| 143 | </seg>
|
---|
| 144 | </seglistitem>
|
---|
| 145 | </segmentedlist>
|
---|
| 146 |
|
---|
| 147 | <variablelist>
|
---|
| 148 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 149 | <?dbfo list-presentation="list"?>
|
---|
| 150 | <?dbhtml list-presentation="table"?>
|
---|
| 151 |
|
---|
[7a91c80] | 152 | <varlistentry id="efisecdb">
|
---|
| 153 | <term><command>efisecdb</command></term>
|
---|
| 154 | <listitem>
|
---|
| 155 | <para>
|
---|
| 156 | is an utility for managing UEFI signature lists
|
---|
| 157 | </para>
|
---|
| 158 | <indexterm zone="efivar efisecdb">
|
---|
| 159 | <primary sortas="b-efisecdb">efisecdb</primary>
|
---|
| 160 | </indexterm>
|
---|
| 161 | </listitem>
|
---|
| 162 | </varlistentry>
|
---|
| 163 |
|
---|
[756a787] | 164 | <varlistentry id="efivar-prog">
|
---|
| 165 | <term><command>efivar</command></term>
|
---|
| 166 | <listitem>
|
---|
| 167 | <para>
|
---|
| 168 | is a tool to manipulate UEFI variables
|
---|
| 169 | </para>
|
---|
| 170 | <indexterm zone="efivar efivar-prog">
|
---|
| 171 | <primary sortas="b-efivar">efivar</primary>
|
---|
| 172 | </indexterm>
|
---|
| 173 | </listitem>
|
---|
| 174 | </varlistentry>
|
---|
| 175 |
|
---|
| 176 | <varlistentry id="libefiboot">
|
---|
| 177 | <term><filename class="libraryfile">libefiboot.so</filename></term>
|
---|
| 178 | <listitem>
|
---|
| 179 | <para>
|
---|
| 180 | is a library used by <command>efibootmgr</command>
|
---|
| 181 | </para>
|
---|
| 182 | <indexterm zone="efivar libefiboot">
|
---|
| 183 | <primary sortas="c-libefiboot">libefiboot.so</primary>
|
---|
| 184 | </indexterm>
|
---|
| 185 | </listitem>
|
---|
| 186 | </varlistentry>
|
---|
| 187 |
|
---|
[7a91c80] | 188 | <varlistentry id="libefisec">
|
---|
| 189 | <term><filename class="libraryfile">libefisec.so</filename></term>
|
---|
| 190 | <listitem>
|
---|
| 191 | <para>
|
---|
| 192 | is a library for managing UEFI signature lists
|
---|
| 193 | </para>
|
---|
| 194 | <indexterm zone="efivar libefisec">
|
---|
| 195 | <primary sortas="c-libefisec">libefisec.so</primary>
|
---|
| 196 | </indexterm>
|
---|
| 197 | </listitem>
|
---|
| 198 | </varlistentry>
|
---|
| 199 |
|
---|
[756a787] | 200 | <varlistentry id="libefivar">
|
---|
| 201 | <term><filename class="libraryfile">libefivar.so</filename></term>
|
---|
| 202 | <listitem>
|
---|
| 203 | <para>
|
---|
| 204 | is a library for the manipulation of EFI variables
|
---|
| 205 | </para>
|
---|
| 206 | <indexterm zone="efivar libefiboot">
|
---|
| 207 | <primary sortas="c-libefiboot">libefiboot.so</primary>
|
---|
| 208 | </indexterm>
|
---|
| 209 | </listitem>
|
---|
| 210 | </varlistentry>
|
---|
| 211 |
|
---|
| 212 | </variablelist>
|
---|
| 213 |
|
---|
| 214 | </sect2>
|
---|
| 215 |
|
---|
| 216 | </sect1>
|
---|