lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 13 Mar 2012 11:58:48 -0700
From:	Randy Dunlap <rdunlap@...otime.net>
To:	Shawn Landden <shawnlandden@...il.com>
CC:	mmarek@...e.cz, andi@...as.de, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scripts: scripts/patch-kernel should be able to digest
 kernel.org hosted .xz patches

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@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ