diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-13 15:37:12 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-13 15:37:12 +0000 |
commit | 10ca915fca8efe1dfd9b7c00088266bf71d64a08 (patch) | |
tree | 9ac4da252966941256cc8c191b7c3735f422e7cf /sys-kernel/dracut/files/dracut-059-install-new-systemd-hibernate-resume.service.patch | |
parent | 370750deb04eb9eb09bc1ea5dd04df400457e77f (diff) |
sys-kernel/dracut : version bump
Diffstat (limited to 'sys-kernel/dracut/files/dracut-059-install-new-systemd-hibernate-resume.service.patch')
-rw-r--r-- | sys-kernel/dracut/files/dracut-059-install-new-systemd-hibernate-resume.service.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sys-kernel/dracut/files/dracut-059-install-new-systemd-hibernate-resume.service.patch b/sys-kernel/dracut/files/dracut-059-install-new-systemd-hibernate-resume.service.patch new file mode 100644 index 00000000..124bd6a9 --- /dev/null +++ b/sys-kernel/dracut/files/dracut-059-install-new-systemd-hibernate-resume.service.patch @@ -0,0 +1,21 @@ +From https://github.com/dracutdevs/dracut/pull/2527 +From a2fe89116db4b286fbf515f26bd1773b5e6ee8ad Mon Sep 17 00:00:00 2001 +From: Antonio Alvarez Feijoo <antonio.feijoo@suse.com> +Date: Tue, 26 Sep 2023 09:43:37 +0200 +Subject: [PATCH] fix(resume): add new systemd-hibernate-resume.service + +Since https://github.com/systemd/systemd/commit/a628d933, the generator only +does the initial validation of the system info and then enables the new +`systemd-hibernate-resume.service`. + +Fixes #2513 +--- a/modules.d/95resume/module-setup.sh ++++ b/modules.d/95resume/module-setup.sh +@@ -44,6 +44,7 @@ install() { + if dracut_module_included "systemd" && [[ -x $dracutsysrootdir$systemdutildir/systemd-hibernate-resume ]]; then + inst_multiple -o \ + "$systemdutildir"/system-generators/systemd-hibernate-resume-generator \ ++ "$systemdsystemunitdir"/systemd-hibernate-resume.service \ + "$systemdsystemunitdir"/systemd-hibernate-resume@.service \ + "$systemdutildir"/systemd-hibernate-resume + return 0 |