Blame 0073-systemd-initrd-switch-root.target-add-ConditionPathE.patch
|
Harald Hoyer |
08211a |
From fc5b6b03281b10fc7c4de460574f1d5efb5f309a Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
08211a |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
08211a |
Date: Wed, 11 Jul 2012 08:41:31 +0200
|
|
Harald Hoyer |
08211a |
Subject: [PATCH] systemd/initrd-switch-root.target: add ConditionPathExist
|
|
Harald Hoyer |
08211a |
|
|
Harald Hoyer |
08211a |
---
|
|
Harald Hoyer |
08211a |
modules.d/98systemd/initrd-switch-root.target | 1 +
|
|
Harald Hoyer |
08211a |
1 file changed, 1 insertion(+)
|
|
Harald Hoyer |
08211a |
|
|
Harald Hoyer |
08211a |
diff --git a/modules.d/98systemd/initrd-switch-root.target b/modules.d/98systemd/initrd-switch-root.target
|
|
Harald Hoyer |
08211a |
index feb7162..74647a5 100644
|
|
Harald Hoyer |
08211a |
--- a/modules.d/98systemd/initrd-switch-root.target
|
|
Harald Hoyer |
08211a |
+++ b/modules.d/98systemd/initrd-switch-root.target
|
|
Harald Hoyer |
08211a |
@@ -14,3 +14,4 @@ Requires=initrd-switch-root.service
|
|
Harald Hoyer |
08211a |
Before=initrd-switch-root.service
|
|
Harald Hoyer |
08211a |
AllowIsolate=yes
|
|
Harald Hoyer |
08211a |
Wants=systemd-journald.service
|
|
Harald Hoyer |
08211a |
+ConditionPathExists=/etc/initrd-release
|