Gentoo Archives: gentoo-commits

From: "Amadeusz Zolnowski (aidecoe)" <aidecoe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-kernel/dracut/files: 036-0008-Add-legacy-flag-l-to-lz4-and-update-ma.patch
Date: Wed, 26 Feb 2014 20:16:39
Message-Id: 20140226201630.97C8A2004C@flycatcher.gentoo.org
1 aidecoe 14/02/26 20:16:30
2
3 Added:
4 036-0008-Add-legacy-flag-l-to-lz4-and-update-ma.patch
5 Log:
6 Fixed bug #502102.
7
8 Commit on behalf of Alexander Tsoy <alexander@××××.me>.
9
10 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key F0134531E1DBFAB5)
11
12 Revision Changes Path
13 1.1 sys-kernel/dracut/files/036-0008-Add-legacy-flag-l-to-lz4-and-update-ma.patch
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/dracut/files/036-0008-Add-legacy-flag-l-to-lz4-and-update-ma.patch?rev=1.1&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/dracut/files/036-0008-Add-legacy-flag-l-to-lz4-and-update-ma.patch?rev=1.1&content-type=text/plain
17
18 Index: 036-0008-Add-legacy-flag-l-to-lz4-and-update-ma.patch
19 ===================================================================
20 From 791ecb805237a28a038bb317b9894113654f080e Mon Sep 17 00:00:00 2001
21 From: Alexander Tsoy <alexander@××××.me>
22 Date: Wed, 26 Feb 2014 15:50:17 +0400
23 Subject: [PATCH 8/8] Add legacy flag (-l) to lz4 and update magic number
24
25 Linux kernel does not support the new default lz4 format.
26
27 https://bugs.gentoo.org/show_bug.cgi?id=502102
28 ---
29 dracut.sh | 2 +-
30 lsinitrd.sh | 2 +-
31 2 files changed, 2 insertions(+), 2 deletions(-)
32
33 diff --git a/dracut.sh b/dracut.sh
34 index 5508050..91e05e3 100755
35 --- a/dracut.sh
36 +++ b/dracut.sh
37 @@ -782,7 +782,7 @@ case $compress in
38 xz) compress="xz --check=crc32 --lzma2=dict=1MiB -T0";;
39 gzip) compress="gzip -9"; command -v pigz > /dev/null 2>&1 && compress="pigz -9";;
40 lzo) compress="lzop -9";;
41 - lz4) compress="lz4 -9";;
42 + lz4) compress="lz4 -l -9";;
43 esac
44 if [[ $_no_compress_l = "cat" ]]; then
45 compress="cat"
46 diff --git a/lsinitrd.sh b/lsinitrd.sh
47 index 2c58f84..8dc9032 100755
48 --- a/lsinitrd.sh
49 +++ b/lsinitrd.sh
50 @@ -172,7 +172,7 @@ case $bin in
51 $'\x71\xc7'*|070701)
52 CAT="cat --"
53 ;;
54 - $'\x04\x22'*)
55 + $'\x02\x21'*)
56 CAT="lz4 -d -c";;
57 *)
58 CAT="xzcat --";
59 --
60 1.9.0