* [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
* Re: [PATCH] scripts: scripts/patch-kernel should be able to digest kernel.org hosted .xz patches
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
1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2012-03-13 18:58 UTC (permalink / raw)
To: Shawn Landden; +Cc: mmarek, andi, linux-kernel
On 03/12/2012 03:13 PM, Shawn Landden wrote:
> kernel.org is hosting patches and kernel compressed with xz (lzma2+). Allow
> scripts/patch-kernel to decompress these files.
Other than xz file decompression, does scripts/patch-kernel
work for you in Linux 3.x kernel trees?
> 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"
--
~Randy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] scripts: scripts/patch-kernel should be able to digest kernel.org hosted .xz patches
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
1 sibling, 0 replies; 3+ messages in thread
From: Michal Marek @ 2012-03-30 13:24 UTC (permalink / raw)
To: Shawn Landden; +Cc: andi, linux-kernel
On Mon, Mar 12, 2012 at 03:13:37PM -0700, Shawn Landden wrote:
> 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(-)
Applied to kbuild.git#misc, thanks.
Michal
^ permalink raw reply [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.