]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sysupdate: Don't use compression extension for UKIs in manpage
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 13 Feb 2025 12:03:39 +0000 (13:03 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 13 Feb 2025 12:08:15 +0000 (13:08 +0100)
UKIs should generally not be compressed since the kernel image and
initrd in them will already be compressed so let's remove the compression
suffix from the examples in the sysupdate manpage.

man/sysupdate.d.xml

index 25e7b5d035a03130ab80eea1e4338ceaa0d1aff1..df3aaf7f387677bc5b1b8e326069bb720cdc7ce6 100644 (file)
@@ -91,7 +91,7 @@
       UUID of 2c7357ed-ebd2-46d9-aec1-23d437ec2bf5 (i.e. the partition type for Verity integrity information
       for x86-64 root file systems).</para></listitem>
 
-      <listitem><para>Finally, a file <literal>https://download.example.com/foobarOS_47.efi.xz</literal> (a
+      <listitem><para>Finally, a file <literal>https://download.example.com/foobarOS_47.efi</literal> (a
       unified kernel, as per <ulink url="https://uapi-group.org/specifications/specs/boot_loader_specification">Boot Loader
       Specification</ulink> Type #2) should be downloaded, decompressed and written to the $BOOT file system,
       i.e. to <filename>EFI/Linux/foobarOS_47.efi</filename> in the ESP or XBOOTLDR partition.</para></listitem>
       → a local, previously empty GPT partition of type 2c7357ed-ebd2-46d9-aec1-23d437ec2bf5, with the label to be
       set to <literal>foobarOS_@v_verity</literal>.</para></listitem>
 
-      <listitem><para>A transfer of a file <literal>https://download.example.com/foobarOS_@v.efi.xz</literal>
+      <listitem><para>A transfer of a file <literal>https://download.example.com/foobarOS_@v.efi</literal>
       → a local file <filename>$BOOT/EFI/Linux/foobarOS_@v.efi</filename>.</para></listitem>
     </orderedlist>
 
@@ -968,7 +968,7 @@ ProtectVersion=%A
 [Source]
 Type=url-file
 Path=https://download.example.com/
-MatchPattern=foobarOS_@v.efi.xz
+MatchPattern=foobarOS_@v.efi
 
 [Target]
 Type=regular-file
@@ -997,7 +997,7 @@ InstancesMax=2</programlisting></para>
           <listitem><para><filename>SHA256SUMS.gpg</filename> – The detached cryptographic signature for the manifest file</para></listitem>
           <listitem><para><filename>foobarOS_7_8b8186b1-2b4e-4eb6-ad39-8d4d18d2a8fb.verity.xz</filename> – The Verity image for version 7</para></listitem>
           <listitem><para><filename>foobarOS_7_f4d1234f-3ebf-47c4-b31d-4052982f9a2f.root.xz</filename> – The root file system image for version 7</para></listitem>
-          <listitem><para><filename>foobarOS_7_efi.xz</filename> – The unified kernel image for version 7</para></listitem>
+          <listitem><para><filename>foobarOS_7.efi</filename> – The unified kernel image for version 7</para></listitem>
         </itemizedlist>
 
         <para>For each new OS release a new set of the latter three files would be added, each time with an