|
Zbigniew Jędrzejewski-Szmek |
6fb020 |
From a2fe89116db4b286fbf515f26bd1773b5e6ee8ad 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
|
|
Zbigniew Jędrzejewski-Szmek |
6fb020 |
Subject: [PATCH] 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
|
|
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
|
|
Zbigniew Jędrzejewski-Szmek |
6fb020 |
index d255103366..9204f9cb73 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
|