projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
468db96
)
scripts/patch-kernel: digest kernel.org hosted .xz patches
author
Shawn Landden
<shawnlandden@gmail.com>
Mon, 12 Mar 2012 22:13:37 +0000
(15:13 -0700)
committer
Michal Marek
<mmarek@suse.cz>
Fri, 30 Mar 2012 13:23:36 +0000
(15:23 +0200)
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>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/patch-kernel
patch
|
blob
|
history
diff --git
a/scripts/patch-kernel
b/scripts/patch-kernel
index 20fb25c2338299f33a8954d6b046ce17f7b466fe..d000ea3a41fdb7f202a34e439cf954bd5353b74f 100755
(executable)
--- 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"