|
108 | 108 | is missing), or "Linux <replaceable>KERNEL-VERSION</replaceable>", if unset.</para>
|
109 | 109 |
|
110 | 110 | <para>If <varname>$KERNEL_INSTALL_LAYOUT</varname> is not "bls", this plugin does nothing.</para></listitem>
|
| 111 | + |
| 112 | + <listitem><para><filename>90-uki-copy.install</filename> copies a file |
| 113 | + <filename>uki.efi</filename> from <varname>$KERNEL_INSTALL_STAGING_AREA</varname> or if it does |
| 114 | + not exist the <replaceable>KERNEL-IMAGE</replaceable> argument, iff it has a |
| 115 | + <literal>.efi</literal> extension, to |
| 116 | + <filename>$BOOT/EFI/Linux/<replaceable>ENTRY-TOKEN</replaceable>-<replaceable>KERNEL-VERSION</replaceable>.efi</filename>.</para> |
| 117 | + |
| 118 | + <para>If <varname>$KERNEL_INSTALL_LAYOUT</varname> is not "uki", this plugin does nothing.</para></listitem> |
111 | 119 | </itemizedlist>
|
112 | 120 | </listitem>
|
113 | 121 | </varlistentry>
|
|
132 | 140 |
|
133 | 141 | <listitem><para><filename>90-loaderentry.install</filename> removes the file
|
134 | 142 | <filename>$BOOT/loader/entries/<replaceable>ENTRY-TOKEN</replaceable>-<replaceable>KERNEL-VERSION</replaceable>.conf</filename>.</para></listitem>
|
| 143 | + |
| 144 | + <listitem><para><filename>90-uki-copy.install</filename> removes the file |
| 145 | + <filename>$BOOT/EFI/Linux/<replaceable>ENTRY-TOKEN</replaceable>-<replaceable>KERNEL-VERSION</replaceable>.efi</filename>.</para></listitem> |
135 | 146 | </itemizedlist>
|
136 | 147 | </listitem>
|
137 | 148 | </varlistentry>
|
|
213 | 224 | (EFI System Partition) are mounted, and also conceptually referred to as <varname>$BOOT</varname>. Can
|
214 | 225 | be overridden by setting <varname>$BOOT_ROOT</varname> (see below).</para>
|
215 | 226 |
|
216 |
| - <para><varname>$KERNEL_INSTALL_LAYOUT=bls|other|...</varname> is set for the plugins to specify the |
| 227 | + <para><varname>$KERNEL_INSTALL_LAYOUT=bls|uki|other|...</varname> is set for the plugins to specify the |
217 | 228 | installation layout. Defaults to <option>bls</option> if
|
218 | 229 | <filename>$BOOT/<replaceable>ENTRY-TOKEN</replaceable></filename> exists, or <option>other</option>
|
219 | 230 | otherwise. Additional layout names may be defined by convention. If a plugin uses a special layout,
|
|
235 | 246 | <para>Implemented by <filename>90-loaderentry.install</filename>.</para>
|
236 | 247 | </listitem>
|
237 | 248 | </varlistentry>
|
| 249 | + <varlistentry> |
| 250 | + <term>uki</term> |
| 251 | + <listitem> |
| 252 | + <para>Standard <ulink |
| 253 | + url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot Loader |
| 254 | + Specification</ulink> Type #2 layout, compatible with |
| 255 | + <citerefentry><refentrytitle>systemd-boot</refentrytitle><manvolnum>7</manvolnum></citerefentry>: |
| 256 | + unified kernel images under <filename>$BOOT/EFI/Linux</filename> as |
| 257 | + <filename>$BOOT/EFI/Linux/<replaceable>ENTRY-TOKEN</replaceable>-<replaceable>KERNEL-VERSION</replaceable>[+<replaceable>TRIES</replaceable>].efi</filename>.</para> |
| 258 | + <para>Implemented by <filename>90-uki-copy.install</filename>.</para> |
| 259 | + </listitem> |
| 260 | + </varlistentry> |
238 | 261 | <varlistentry>
|
239 | 262 | <term>other</term>
|
240 | 263 | <listitem>
|
|
312 | 335 | <filename>/etc/kernel/tries</filename>
|
313 | 336 | </term>
|
314 | 337 | <listitem>
|
315 |
| - <para>Read by <filename>90-loaderentry.install</filename>. If this file exists a numeric value is read from |
316 |
| - it and the naming of the generated entry file is slightly altered to include it as |
317 |
| - <filename>$BOOT/loader/entries/<replaceable>MACHINE-ID</replaceable>-<replaceable>KERNEL-VERSION</replaceable>+<replaceable>TRIES</replaceable>.conf</filename>. This |
| 338 | + <para>Read by <filename>90-loaderentry.install</filename> and |
| 339 | + <filename>90-uki-copy.install</filename>. If this file exists a numeric value is read from it |
| 340 | + and the naming of the generated entry file or UKI is slightly altered to include it as |
| 341 | + <filename>$BOOT/loader/entries/<replaceable>ENTRY-TOKEN</replaceable>-<replaceable>KERNEL-VERSION</replaceable>+<replaceable>TRIES</replaceable>.conf</filename> |
| 342 | + or |
| 343 | + <filename>$BOOT/EFI/Linux/<replaceable>ENTRY-TOKEN</replaceable>-<replaceable>KERNEL-VERSION</replaceable>+<replaceable>TRIES</replaceable>.conf</filename>, respectively. This |
318 | 344 | is useful for boot loaders such as
|
319 |
| - <citerefentry><refentrytitle>systemd-boot</refentrytitle><manvolnum>7</manvolnum></citerefentry> which |
320 |
| - implement boot attempt counting with a counter embedded in the entry file name. |
| 345 | + <citerefentry><refentrytitle>systemd-boot</refentrytitle><manvolnum>7</manvolnum></citerefentry> |
| 346 | + which implement boot attempt counting with a counter embedded in the entry file name. |
321 | 347 | <varname>$KERNEL_INSTALL_CONF_ROOT</varname> may be used to override the path.</para>
|
322 | 348 | </listitem>
|
323 | 349 | </varlistentry>
|
|
0 commit comments