mkinitrd unification across distributions
 help / color / mirror / Atom feed
From: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: WANG Chao <chaowang-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] dracut-initqueue.service: Fix systemd start condition
Date: Fri, 07 Jun 2013 13:56:56 +0200	[thread overview]
Message-ID: <51B1CA88.4060703@redhat.com> (raw)
In-Reply-To: <20130607095056.GA20100-UAAZkH0G2Ts1naxU1pY8ZxcY2uh10dtjAL8bYrjMMd8@public.gmane.org>

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!

      parent reply	other threads:[~2013-06-07 11:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51B1CA88.4060703@redhat.com \
    --to=harald-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=chaowang-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox