scripts: scripts/patch-kernel should be able to digest kernel.org hosted .xz patches
PATCH 1/1 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 <[email protected]>
--- scripts/patch-kernel | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
scripts/patch-kernel +4 -0
@@ -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"
Signature · 1 line
1.7.9.1
Quoted 2 lines · Shawn Landden
kernel.org is hosting patches and kernel compressed with xz (lzma2+). Allow
scripts/patch-kernelto decompress these files.
Other than xz file decompression, does scripts/patch-kernel work for you in Linux 3.x kernel trees?
Quoted 20 lines
Signed-off-by Shawn Landden <[email protected]>--- scripts/patch-kernel | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)scripts/patch-kernel +4
-0@@ -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"
Signature · 1 line
~Randy
Quoted 7 lines · Shawn Landden
kernel.org is hosting patches and kernel compressed with xz (lzma2+). Allow
scripts/patch-kernelto decompress these files.Signed-off-by Shawn Landden <[email protected]>--- scripts/patch-kernel | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
Applied to kbuild.git#misc, thanks.
Michal