[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1331590417-10050-1-git-send-email-shawnlandden@gmail.com>
Date: Mon, 12 Mar 2012 15:13:37 -0700
From: Shawn Landden <shawnlandden@...il.com>
To: mmarek@...e.cz, andi@...as.de, shawnlandden@...il.com,
linux-kernel@...r.kernel.org
Subject: [PATCH] scripts: scripts/patch-kernel should be able to digest kernel.org hosted .xz patches
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@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists