From: Shawn Landden <shawnlandden@gmail.com>
To: mmarek@suse.cz, andi@lisas.de, shawnlandden@gmail.com,
linux-kernel@vger.kernel.org
Subject: [PATCH] scripts: scripts/patch-kernel should be able to digest kernel.org hosted .xz patches
Date: Mon, 12 Mar 2012 15:13:37 -0700 [thread overview]
Message-ID: <1331590417-10050-1-git-send-email-shawnlandden@gmail.com> (raw)
kernel.org is hosting patches and kernel compressed with xz (lzma2+). Allow
scripts/patch-kernel to decompress these files.
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"
--
1.7.9.1
next reply other threads:[~2012-03-12 22:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-12 22:13 Shawn Landden [this message]
2012-03-13 18:58 ` Randy Dunlap
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=1331590417-10050-1-git-send-email-shawnlandden@gmail.com \
--to=shawnlandden@gmail.com \
--cc=andi@lisas.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mmarek@suse.cz \
/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®