提交 354fa22f 编写于 作者: S Shawn Landden 提交者: Michal Marek

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: NShawn Landden <shawnlandden@gmail.com>
Signed-off-by: NMichal Marek <mmarek@suse.cz>
上级 468db961
......@@ -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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册