Blame 0003-fix-resume-add-new-systemd-hibernate-resume.service.patch

ff27f8
From 28ecd1f24f82a90852b65f57c1caa98838d25c97 Mon Sep 17 00:00:00 2001
Zbigniew Jędrzejewski-Szmek 6fb020
From: Antonio Alvarez Feijoo <antonio.feijoo@suse.com>
Zbigniew Jędrzejewski-Szmek 6fb020
Date: Tue, 26 Sep 2023 09:43:37 +0200
ff27f8
Subject: [PATCH 03/10] fix(resume): add new systemd-hibernate-resume.service
Zbigniew Jędrzejewski-Szmek 6fb020
Zbigniew Jędrzejewski-Szmek 6fb020
Since https://github.com/systemd/systemd/commit/a628d933, the generator only
Zbigniew Jędrzejewski-Szmek 6fb020
does the initial validation of the system info and then enables the new
Zbigniew Jędrzejewski-Szmek 6fb020
`systemd-hibernate-resume.service`.
Zbigniew Jędrzejewski-Szmek 6fb020
Zbigniew Jędrzejewski-Szmek 6fb020
Fixes #2513
ff27f8
ff27f8
(Cherry-picked a2fe89116db4b286fbf515f26bd1773b5e6ee8ad from PR#2557)
Zbigniew Jędrzejewski-Szmek 6fb020
---
Zbigniew Jędrzejewski-Szmek 6fb020
 modules.d/95resume/module-setup.sh | 1 +
Zbigniew Jędrzejewski-Szmek 6fb020
 1 file changed, 1 insertion(+)
Zbigniew Jędrzejewski-Szmek 6fb020
Zbigniew Jędrzejewski-Szmek 6fb020
diff --git a/modules.d/95resume/module-setup.sh b/modules.d/95resume/module-setup.sh
ff27f8
index d2551033..9204f9cb 100755
Zbigniew Jędrzejewski-Szmek 6fb020
--- a/modules.d/95resume/module-setup.sh
Zbigniew Jędrzejewski-Szmek 6fb020
+++ b/modules.d/95resume/module-setup.sh
Zbigniew Jędrzejewski-Szmek 6fb020
@@ -44,6 +44,7 @@ install() {
Zbigniew Jędrzejewski-Szmek 6fb020
     if dracut_module_included "systemd" && [[ -x $dracutsysrootdir$systemdutildir/systemd-hibernate-resume ]]; then
Zbigniew Jędrzejewski-Szmek 6fb020
         inst_multiple -o \
Zbigniew Jędrzejewski-Szmek 6fb020
             "$systemdutildir"/system-generators/systemd-hibernate-resume-generator \
Zbigniew Jędrzejewski-Szmek 6fb020
+            "$systemdsystemunitdir"/systemd-hibernate-resume.service \
Zbigniew Jędrzejewski-Szmek 6fb020
             "$systemdsystemunitdir"/systemd-hibernate-resume@.service \
Zbigniew Jędrzejewski-Szmek 6fb020
             "$systemdutildir"/systemd-hibernate-resume
Zbigniew Jędrzejewski-Szmek 6fb020
         return 0
ff27f8
-- 
ff27f8
2.42.0
ff27f8