[klibc] [PATCH] klibc: fix gen_initramfs_init.sh when using -d

Sam Ravnborg sam at ravnborg.org
Sat Apr 15 14:31:06 PDT 2006


On Sat, Apr 15, 2006 at 04:19:24PM +0200, Sam Ravnborg wrote:
> gen_initramfs_list.sh failed to generate a dependency list when
> it was supplied the -d option.
> Restructured gen_initramfs_list.sh to support dependency info with -d.
> This also fixes a bug where we did not properly process
> when more than one dir was specified.
> Finally update dependency info for the -d case (list_default_initramfs)
> 
> In usr/Kbuild remove "" around CONFIG_RAMFS_SOURCE so the shell
> recognize two directories as two arguments.
> 
> Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
> ---
> 
> Patch made on top of linux/kernel/git/hpa/linux-2.6-klibc.
> Now I hope that this trivial thing is finally fixed...

It is not fixed :-(((
hpa notified me in private mail that doing:
touch usr/kinit/kint.c
make

would only rebuild initramfs.cpio.gz half of the time.
This is due to the fact that make caches file timestamps, and is does
not reread timestamp of usr/kinit/kinit after we rebuild it.
make is correct here - somehow I have to tell make that we may rebuild
usr/kinit/kinit so it rereads timestamps.

That will be for tomorrow then - but if anyone beats me ;-)

	Sam



More information about the klibc mailing list