mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@xenotime.net>
To: Shawn Landden <shawnlandden@gmail.com>
Cc: mmarek@suse.cz, andi@lisas.de, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] scripts: scripts/patch-kernel should be able to digest kernel.org hosted .xz patches
Date: Tue, 13 Mar 2012 11:58:48 -0700	[thread overview]
Message-ID: <4F5F98E8.3070900@xenotime.net> (raw)
In-Reply-To: <1331590417-10050-1-git-send-email-shawnlandden@gmail.com>

On 03/12/2012 03:13 PM, Shawn Landden wrote:

> kernel.org is hosting patches and kernel compressed with xz (lzma2+). Allow
> scripts/patch-kernel to decompress these files.

Other than xz file decompression, does scripts/patch-kernel
work for you in Linux 3.x kernel trees?


> Signed-off-by: Shawn Landden <shawnlandden@gmail.com>
> ---
>  scripts/patch-kernel |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/scripts/patch-kernel b/scripts/patch-kernel
> index 20fb25c..d000ea3 100755
> --- a/scripts/patch-kernel
> +++ b/scripts/patch-kernel
> @@ -116,6 +116,10 @@ findFile () {
>  		ext=".bz2"
>  		name="bzip2"
>  		uncomp="bunzip2 -dc"
> +  elif [ -r ${filebase}.xz ]; then
> +                ext=".xz"
> +                name="xz"
> +                uncomp="xz -dc"
>    elif [ -r ${filebase}.zip ]; then
>  		ext=".zip"
>  		name="zip"



-- 
~Randy

  reply	other threads:[~2012-03-13 18:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-12 22:13 Shawn Landden
2012-03-13 18:58 ` Randy Dunlap [this message]
2012-03-30 13:24 ` Michal Marek

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=4F5F98E8.3070900@xenotime.net \
    --to=rdunlap@xenotime.net \
    --cc=andi@lisas.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mmarek@suse.cz \
    --cc=shawnlandden@gmail.com \
    /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

all inboxes | Powered by JetHome®