All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scripts: scripts/patch-kernel should be able to digest kernel.org hosted .xz patches
@ 2012-03-12 22:13 Shawn Landden
  2012-03-13 18:58 ` Randy Dunlap
  2012-03-30 13:24 ` Michal Marek
  0 siblings, 2 replies; 3+ messages in thread
From: Shawn Landden @ 2012-03-12 22:13 UTC (permalink / raw)
  To: mmarek, andi, shawnlandden, linux-kernel

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


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

end of thread, other threads:[~2012-03-30 22:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-12 22:13 [PATCH] scripts: scripts/patch-kernel should be able to digest kernel.org hosted .xz patches Shawn Landden
2012-03-13 18:58 ` Randy Dunlap
2012-03-30 13:24 ` Michal Marek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.