dracut/0058-systemd-switch-root.target-run-target-before-switch-.patch

23 lines
720 B
Diff
Raw Normal View History

From 3df23069817586aa3143e6e9c33bec24785caea3 Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Wed, 16 May 2012 11:21:33 +0200
Subject: [PATCH] systemd/switch-root.target: run target before
switch-root.service
---
modules.d/98systemd/switch-root.target | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules.d/98systemd/switch-root.target b/modules.d/98systemd/switch-root.target
index d0d60e1..adfb32c 100644
--- a/modules.d/98systemd/switch-root.target
+++ b/modules.d/98systemd/switch-root.target
@@ -11,6 +11,6 @@
Description=Switch Root
DefaultDependencies=no
Requires=switch-root.service
-After=switch-root.service
+Before=switch-root.service
AllowIsolate=yes