linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] scripts/extract-ikconfig: add xz compression support
@ 2011-01-23 23:44 Dick Streefland
  2011-01-24  5:20 ` Américo Wang
  0 siblings, 1 reply; 3+ messages in thread
From: Dick Streefland @ 2011-01-23 23:44 UTC (permalink / raw)
  To: linux-kbuild; +Cc: linux-kernel, Arkadiusz Miskiewicz

Add support for kernels compressed with xz to the extract-ikconfig script.

Signed-off-by: Dick Streefland <dick@streefland.net>
---
 scripts/extract-ikconfig |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/scripts/extract-ikconfig b/scripts/extract-ikconfig
index 1512c0a..e186242 100755
--- a/scripts/extract-ikconfig
+++ b/scripts/extract-ikconfig
@@ -56,10 +56,11 @@ trap "rm -f $tmp1 $tmp2" 0
 dump_config "$img"
 
 # That didn't work, so retry after decompression.
-try_decompress '\037\213\010' xy  gunzip
-try_decompress 'BZh'          xy  bunzip2
-try_decompress '\135\0\0\0'   xxx unlzma
-try_decompress '\211\114\132' xy  'lzop -d'
+try_decompress '\037\213\010' xy    gunzip
+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'
 
 # Bail out:
 echo "$me: Cannot find kernel config." >&2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] scripts/extract-ikconfig: add xz compression support
  2011-01-23 23:44 [PATCH] scripts/extract-ikconfig: add xz compression support Dick Streefland
@ 2011-01-24  5:20 ` Américo Wang
  2011-02-10 15:00   ` Michal Marek
  0 siblings, 1 reply; 3+ messages in thread
From: Américo Wang @ 2011-01-24  5:20 UTC (permalink / raw)
  To: Dick Streefland; +Cc: linux-kbuild, linux-kernel, Arkadiusz Miskiewicz

On Mon, Jan 24, 2011 at 12:44:57AM +0100, Dick Streefland wrote:
>Add support for kernels compressed with xz to the extract-ikconfig script.
>
>Signed-off-by: Dick Streefland <dick@streefland.net>

Acked-by: WANG Cong <xiyou.wangcong@gmail.com>

Thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] scripts/extract-ikconfig: add xz compression support
  2011-01-24  5:20 ` Américo Wang
@ 2011-02-10 15:00   ` Michal Marek
  0 siblings, 0 replies; 3+ messages in thread
From: Michal Marek @ 2011-02-10 15:00 UTC (permalink / raw)
  To: Américo Wang
  Cc: Dick Streefland, linux-kbuild, linux-kernel, Arkadiusz Miskiewicz

On 24.1.2011 06:20, Américo Wang wrote:
> On Mon, Jan 24, 2011 at 12:44:57AM +0100, Dick Streefland wrote:
>> Add support for kernels compressed with xz to the extract-ikconfig script.
>>
>> Signed-off-by: Dick Streefland <dick@streefland.net>
> 
> Acked-by: WANG Cong <xiyou.wangcong@gmail.com>

Thanks, applied.

Michal

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-02-10 15:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-23 23:44 [PATCH] scripts/extract-ikconfig: add xz compression support Dick Streefland
2011-01-24  5:20 ` Américo Wang
2011-02-10 15:00   ` Michal Marek

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 NNTP newsgroup(s).