Blame 0025-systemd-dracut-pre-trigger.service-load-service-on-d.patch
|
Harald Hoyer |
fe31f8 |
From f251a89772e68ddc057439ea8ee338ee99853833 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
fe31f8 |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
fe31f8 |
Date: Fri, 8 Feb 2013 14:17:50 +0100
|
|
Harald Hoyer |
fe31f8 |
Subject: [PATCH] systemd/dracut-pre-trigger.service: load service on demand
|
|
Harald Hoyer |
fe31f8 |
|
|
Harald Hoyer |
fe31f8 |
---
|
|
Harald Hoyer |
fe31f8 |
modules.d/98systemd/dracut-pre-trigger.service | 2 ++
|
|
Harald Hoyer |
fe31f8 |
1 file changed, 2 insertions(+)
|
|
Harald Hoyer |
fe31f8 |
|
|
Harald Hoyer |
fe31f8 |
diff --git a/modules.d/98systemd/dracut-pre-trigger.service b/modules.d/98systemd/dracut-pre-trigger.service
|
|
Harald Hoyer |
fe31f8 |
index 6836d89..55c9938 100644
|
|
Harald Hoyer |
fe31f8 |
--- a/modules.d/98systemd/dracut-pre-trigger.service
|
|
Harald Hoyer |
fe31f8 |
+++ b/modules.d/98systemd/dracut-pre-trigger.service
|
|
Harald Hoyer |
fe31f8 |
@@ -15,6 +15,8 @@ Before=systemd-udev-trigger.service dracut-initqueue.service
|
|
Harald Hoyer |
fe31f8 |
After=dracut-pre-udev.service systemd-udevd.service
|
|
Harald Hoyer |
fe31f8 |
Wants=dracut-pre-udev.service systemd-udevd.service
|
|
Harald Hoyer |
fe31f8 |
ConditionPathExists=/etc/initrd-release
|
|
Harald Hoyer |
fe31f8 |
+ConditionDirectoryNotEmpty=|/lib/dracut/hooks/pre-trigger
|
|
Harald Hoyer |
fe31f8 |
+ConditionKernelCommandLine=|rd.break=pre-trigger
|
|
Harald Hoyer |
fe31f8 |
|
|
Harald Hoyer |
fe31f8 |
[Service]
|
|
Harald Hoyer |
fe31f8 |
Type=oneshot
|