initramfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Colin Guthrie <colin-odJJhXpcy38dnm+yROfE0A@public.gmane.org>,
	initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] dracut.sh: fix $tmpfilesdir fallback when systemd-devel is not installed.
Date: Tue, 7 Jun 2016 10:50:28 +0200	[thread overview]
Message-ID: <e678fe2c-75bf-68a7-0def-593186b32f8c@redhat.com> (raw)
In-Reply-To: <20160607081605.1205-1-colin-odJJhXpcy38dnm+yROfE0A@public.gmane.org>

Am 07.06.2016 um 10:16 schrieb Colin Guthrie:
> Bug introduced in 3a04bddeed in Dec 2014.
> ---
>  dracut.sh | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/dracut.sh b/dracut.sh
> index 8232fa4..a50eaff 100755
> --- a/dracut.sh
> +++ b/dracut.sh
> @@ -1260,8 +1260,8 @@ fi
>      || tmpfilesdir=$(pkg-config systemd --variable=tmpfilesdir 2>/dev/null)
>  
>  if ! [[ -d "$tmpfilesdir" ]]; then
> -    [[ -f /lib/tmpfiles.d ]] && tmpfilesdir=/lib/tmpfiles.d
> -    [[ -f /usr/lib/tmpfiles.d ]] && tmpfilesdir=/usr/lib/tmpfiles.d
> +    [[ -d /lib/tmpfiles.d ]] && tmpfilesdir=/lib/tmpfiles.d
> +    [[ -d /usr/lib/tmpfiles.d ]] && tmpfilesdir=/usr/lib/tmpfiles.d
>  fi
>  
>  export initdir dracutbasedir \
> 

Thanks! Pushed

      parent reply	other threads:[~2016-06-07  8:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-07  8:16 [PATCH] dracut.sh: fix $tmpfilesdir fallback when systemd-devel is not installed Colin Guthrie
     [not found] ` <20160607081605.1205-1-colin-odJJhXpcy38dnm+yROfE0A@public.gmane.org>
2016-06-07  8:50   ` 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=e678fe2c-75bf-68a7-0def-593186b32f8c@redhat.com \
    --to=harald-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=colin-odJJhXpcy38dnm+yROfE0A@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).