From: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Alexander Tsoy <alexander-EP/B3+myoZc@public.gmane.org>,
initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCHv2] Add legacy flag (-l) to lz4 and update magic number
Date: Wed, 26 Feb 2014 15:05:14 +0100 [thread overview]
Message-ID: <530DF49A.1010309@redhat.com> (raw)
In-Reply-To: <E1WIdCN-0000Jz-Gd-7GBPmfXo8GgjmsMGrRdz4w@public.gmane.org>
On 02/26/2014 12:50 PM, Alexander Tsoy wrote:
> Linux kernel does not support the new default lz4 format.
>
> https://bugs.gentoo.org/show_bug.cgi?id=502102
> ---
> dracut.sh | 2 +-
> lsinitrd.sh | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/dracut.sh b/dracut.sh
> index 5267af5..49077fd 100755
> --- a/dracut.sh
> +++ b/dracut.sh
> @@ -782,7 +782,7 @@ case $compress in
> xz) compress="xz --check=crc32 --lzma2=dict=1MiB -T0";;
> gzip) compress="gzip -9"; command -v pigz > /dev/null 2>&1 && compress="pigz -9";;
> lzo) compress="lzop -9";;
> - lz4) compress="lz4 -9";;
> + lz4) compress="lz4 -l -9";;
> esac
> if [[ $_no_compress_l = "cat" ]]; then
> compress="cat"
> diff --git a/lsinitrd.sh b/lsinitrd.sh
> index 2c58f84..8dc9032 100755
> --- a/lsinitrd.sh
> +++ b/lsinitrd.sh
> @@ -172,7 +172,7 @@ case $bin in
> $'\x71\xc7'*|070701)
> CAT="cat --"
> ;;
> - $'\x04\x22'*)
> + $'\x02\x21'*)
> CAT="lz4 -d -c";;
> *)
> CAT="xzcat --";
>
Thanks! Pushed
prev parent reply other threads:[~2014-02-26 14:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-26 11:50 [PATCHv2] Add legacy flag (-l) to lz4 and update magic number Alexander Tsoy
[not found] ` <E1WIdCN-0000Jz-Gd-7GBPmfXo8GgjmsMGrRdz4w@public.gmane.org>
2014-02-26 14:05 ` 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=530DF49A.1010309@redhat.com \
--to=harald-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=alexander-EP/B3+myoZc@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