[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180425011231.24143-1-kilobyte@angband.pl>
Date: Wed, 25 Apr 2018 03:12:31 +0200
From: Adam Borowski <kilobyte@...band.pl>
To: Michal Marek <michal.lkml@...kovi.net>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
linux-kbuild@...r.kernel.org,
Paul Menzel <pmenzel+linux-kernel@...gen.mpg.de>,
Pavel Machek <pavel@....cz>, linux-kernel@...r.kernel.org,
x86@...nel.org, Ingo Molnar <mingo@...nel.org>
Subject: On Tue, Apr 24, 2018 at 11:08:34AM +0200, Paul Menzel wrote:
'ere you go. KERNEL_ZSTD is not in mainline yet but knowing its magic
can't hurt -- especially that scripts may be out of sync with an installed
kernel. LZ4 is in since 3.11.
--8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--
>From 30886e965e7aeae8d3729c4bacf614a19e103cea Mon Sep 17 00:00:00 2001
From: Adam Borowski <kilobyte@...band.pl>
Date: Wed, 25 Apr 2018 02:29:18 +0200
Subject: [PATCH] scripts: teach extract-vmlinux about LZ4 and ZSTD
Note that the LZ4 signature is different than that of modern LZ4 as we
use the "legacy" format which suffers from some downsides like inability
to disable compression.
Signed-off-by: Adam Borowski <kilobyte@...band.pl>
---
scripts/extract-vmlinux | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/extract-vmlinux b/scripts/extract-vmlinux
index 5061abcc2540..e6239f39abad 100755
--- a/scripts/extract-vmlinux
+++ b/scripts/extract-vmlinux
@@ -57,6 +57,8 @@ try_decompress '\3757zXZ\000' abcde unxz
try_decompress 'BZh' xy bunzip2
try_decompress '\135\0\0\0' xxx unlzma
try_decompress '\211\114\132' xy 'lzop -d'
+try_decompress '\002!L\030' xxx 'lz4 -d'
+try_decompress '(\265/\375' xxx unzstd
# Bail out:
echo "$me: Cannot find vmlinux." >&2
--
2.17.0
Powered by blists - more mailing lists