mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:41:42 +00:00
scripts/patch-kernel: 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@gmail.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
This commit is contained in:
parent
468db96122
commit
354fa22fce
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user