* [PATCH] dracut-initqueue.service: Fix systemd start condition
@ 2013-06-07 9:50 WANG Chao
[not found] ` <20130607095056.GA20100-UAAZkH0G2Ts1naxU1pY8ZxcY2uh10dtjAL8bYrjMMd8@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: WANG Chao @ 2013-06-07 9:50 UTC (permalink / raw)
To: Harald Hoyer; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA
Scripts in dracut initqueue hooks are placed under
/usr/lib/dracut/hooks/initqueue/*/ directory.
And also start initqueue service when kernel cmdline has
rd.break=initqueue
Signed-off-by: WANG Chao <chaowang-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
---
modules.d/98systemd/dracut-initqueue.service | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules.d/98systemd/dracut-initqueue.service b/modules.d/98systemd/dracut-initqueue.service
index f4c1dd4..61d3a7c 100644
--- a/modules.d/98systemd/dracut-initqueue.service
+++ b/modules.d/98systemd/dracut-initqueue.service
@@ -15,8 +15,8 @@ After=systemd-udev-trigger.service
Wants=systemd-udev-trigger.service
ConditionPathExists=/etc/initrd-release
ConditionPathExists=|/lib/dracut/need-initqueue
-ConditionPathExistsGlob=|/lib/dracut/hooks/initqueue/*.sh
-ConditionKernelCommandLine=|rd.break=pre-mount
+ConditionPathExistsGlob=|/lib/dracut/hooks/initqueue/*/*.sh
+ConditionKernelCommandLine=|rd.break=initqueue
[Service]
Environment=DRACUT_SYSTEMD=1
--
1.8.2.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dracut-initqueue.service: Fix systemd start condition
[not found] ` <20130607095056.GA20100-UAAZkH0G2Ts1naxU1pY8ZxcY2uh10dtjAL8bYrjMMd8@public.gmane.org>
@ 2013-06-07 11:56 ` Harald Hoyer
0 siblings, 0 replies; 2+ messages in thread
From: Harald Hoyer @ 2013-06-07 11:56 UTC (permalink / raw)
To: WANG Chao; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA
On 06/07/2013 11:50 AM, WANG Chao wrote:
> Scripts in dracut initqueue hooks are placed under
> /usr/lib/dracut/hooks/initqueue/*/ directory.
>
> And also start initqueue service when kernel cmdline has
> rd.break=initqueue
>
> Signed-off-by: WANG Chao <chaowang-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> ---
> modules.d/98systemd/dracut-initqueue.service | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/modules.d/98systemd/dracut-initqueue.service b/modules.d/98systemd/dracut-initqueue.service
> index f4c1dd4..61d3a7c 100644
> --- a/modules.d/98systemd/dracut-initqueue.service
> +++ b/modules.d/98systemd/dracut-initqueue.service
> @@ -15,8 +15,8 @@ After=systemd-udev-trigger.service
> Wants=systemd-udev-trigger.service
> ConditionPathExists=/etc/initrd-release
> ConditionPathExists=|/lib/dracut/need-initqueue
> -ConditionPathExistsGlob=|/lib/dracut/hooks/initqueue/*.sh
> -ConditionKernelCommandLine=|rd.break=pre-mount
> +ConditionPathExistsGlob=|/lib/dracut/hooks/initqueue/*/*.sh
> +ConditionKernelCommandLine=|rd.break=initqueue
>
> [Service]
> Environment=DRACUT_SYSTEMD=1
>
Many thanks! Pushed!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-06-07 11:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-07 9:50 [PATCH] dracut-initqueue.service: Fix systemd start condition WANG Chao
[not found] ` <20130607095056.GA20100-UAAZkH0G2Ts1naxU1pY8ZxcY2uh10dtjAL8bYrjMMd8@public.gmane.org>
2013-06-07 11:56 ` Harald Hoyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox