mkinitrd unification across distributions
 help / color / mirror / Atom feed
From: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Vasiliy Tolstov
	<v.tolstov-+9FY0jupvH6HXe+LvDLADg@public.gmane.org>,
	initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] fix gzip compress then it not supports rsyncable option
Date: Wed, 29 Oct 2014 14:13:41 +0100	[thread overview]
Message-ID: <5450E805.4060200@redhat.com> (raw)
In-Reply-To: <1414406633-5262-1-git-send-email-v.tolstov-+9FY0jupvH6HXe+LvDLADg@public.gmane.org>

On 27.10.2014 11:43, Vasiliy Tolstov wrote:
> dracut fail to create initramfs when compressor gzip and
> it not have rsyncable option
> 
> Signed-off-by: Vasiliy Tolstov <v.tolstov-+9FY0jupvH6HXe+LvDLADg@public.gmane.org>
> ---
>  dracut.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/dracut.sh b/dracut.sh
> index 1c7e208..7aa1264 100755
> --- a/dracut.sh
> +++ b/dracut.sh
> @@ -822,7 +822,7 @@ case $compress in
>      bzip2) compress="bzip2 -9";;
>      lzma)  compress="lzma -9 -T0";;
>      xz)    compress="xz --check=crc32 --lzma2=dict=1MiB -T0";;
> -    gzip)  compress="gzip -n -9 --rsyncable"; command -v pigz > /dev/null 2>&1 && compress="pigz -9 -n -T -R";;
> +    gzip)  compress="gzip -n -9"; command -v gzip --help 2>&1 | grep -q rsyncable && compress="gzip -n -9 --rsyncable"; command -v pigz > /dev/null 2>&1 && compress="pigz -9 -n -T -R";;
>      lzo)   compress="lzop -9";;
>      lz4)   compress="lz4 -l -9";;
>  esac
> 

Thanks! pushed

  parent reply	other threads:[~2014-10-29 13:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-27 10:43 [PATCH] fix gzip compress then it not supports rsyncable option Vasiliy Tolstov
     [not found] ` <1414406633-5262-1-git-send-email-v.tolstov-+9FY0jupvH6HXe+LvDLADg@public.gmane.org>
2014-10-29 13:13   ` Harald Hoyer [this message]
     [not found]     ` <5450E805.4060200-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-10-29 13:15       ` Vasiliy Tolstov

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=5450E805.4060200@redhat.com \
    --to=harald-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=v.tolstov-+9FY0jupvH6HXe+LvDLADg@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