Merge pull request #32102 from YHNdnzj/efi-var-consistent

Trivial follow-up for hibernate-resume
This commit is contained in:
Luca Boccassi 2024-04-04 21:21:10 +01:00 committed by GitHub
commit 9a937ea2a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 1 deletions

View file

@ -599,6 +599,16 @@
</listitem>
</varlistentry>
<varlistentry>
<term><varname>resume_offset=</varname></term>
<listitem><para>Configure the page offset of the swap space from the resume device. For details, see
<citerefentry><refentrytitle>systemd-hibernate-resume-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
</para>
<xi:include href="version-info.xml" xpointer="v254"/></listitem>
</varlistentry>
<varlistentry>
<term><varname>systemd.firstboot=</varname></term>

View file

@ -523,7 +523,7 @@ int clear_efi_hibernate_location_and_warn(void) {
if (r == -ENOENT)
return 0;
if (r < 0)
return log_warning_errno(r, "Failed to clear EFI variable HibernateLocation: %m");
return log_warning_errno(r, "Failed to clear HibernateLocation EFI variable: %m");
return 1;
}