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] [day] [month] [year] [list]
Date:	Tue, 23 Mar 2010 13:08:50 +0100
From:	Michal Marek <mmarek@...e.cz>
To:	Jason Gunthorpe <jgunthorpe@...idianresearch.com>
Cc:	linux-kernel@...r.kernel.org, Sam Ravnborg <sam@...nborg.org>
Subject: Re: [PATCH] kbuild: Include gen_initramfs_list.sh and the file list
 in	the .d file

On 22.3.2010 23:49, Jason Gunthorpe wrote:
> Expand the dependency set used for the initrd to include the
> CONFIG_INITRAMFS_SOURCE file and the generator script itself.
> 
> Signed-off-by: Jason Gunthorpe <jgunthorpe@...idianresearch.com>
> ---
>  scripts/gen_initramfs_list.sh |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> Otherwise changing the initramfs file list does not rebuild the CPIO..

Thanks, applied.

Michal
> 
> diff --git a/scripts/gen_initramfs_list.sh b/scripts/gen_initramfs_list.sh
> index 76af5f9..f3b5c05 100644
> --- a/scripts/gen_initramfs_list.sh
> +++ b/scripts/gen_initramfs_list.sh
> @@ -202,6 +202,7 @@ input_file() {
>  			print_mtime "$1" >> ${output}
>  			cat "$1"         >> ${output}
>  		else
> +		        echo "$1 \\"
>  			cat "$1" | while read type dir file perm ; do
>  				if [ "$type" == "file" ]; then
>  					echo "$file \\";
> @@ -231,7 +232,7 @@ arg="$1"
>  case "$arg" in
>  	"-l")	# files included in initramfs - used by kbuild
>  		dep_list="list_"
> -		echo "deps_initramfs := \\"
> +		echo "deps_initramfs := $0 \\"
>  		shift
>  		;;
>  	"-o")	# generate compressed cpio image named $1

--
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