systemd/0570-systemd-hibernate-resume-.service-remove-unnecessary.patch
Zbigniew Jędrzejewski-Szmek f1004dc2ae Update to latest git
2014-10-10 14:56:53 -04:00

29 lines
1.1 KiB
Diff

From 5516ae44198b5128f2afd93c7fb7973f89e2bfd9 Mon Sep 17 00:00:00 2001
From: Ivan Shapovalov <intelfx100@gmail.com>
Date: Thu, 9 Oct 2014 23:52:26 -0400
Subject: [PATCH] systemd-hibernate-resume@.service: remove unnecessary
ordering
They were left from an early review iteration, when hibernate-resume
functionality was intended to work also outside of initramfs.
Now this is not the case, and these dependencies became redundant
as systemd-fsck-root.service can never be part of initramfs, and
systemd-remount-fs.service makes little sense in it.
---
units/systemd-hibernate-resume@.service.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/units/systemd-hibernate-resume@.service.in b/units/systemd-hibernate-resume@.service.in
index 6db584dc4d..65e8eb83f1 100644
--- a/units/systemd-hibernate-resume@.service.in
+++ b/units/systemd-hibernate-resume@.service.in
@@ -12,7 +12,7 @@ DefaultDependencies=no
BindsTo=%i.device
Wants=local-fs-pre.target
After=%i.device
-Before=local-fs-pre.target systemd-remount-fs.service systemd-fsck-root.service
+Before=local-fs-pre.target
ConditionPathExists=/etc/initrd-release
[Service]