linux-hardened/usr
Thomas Chou a26d79ca81 [PATCH] initramfs: handle more than one source dir or file list
Fix bug 7401.

Handle more than one source dir or file list to the initramfs gen scripts.

The Kconfig help for INITRAMFS_SOURCE claims that you can specify multiple
space-separated sources in order to allow unprivileged users to build an
image.  There are two bugs in the current implementation that prevent this
from working.

First, we pass "file1 dir2" to the gen_initramfs_list.sh script, which it
obviously can't open.

Second, gen_initramfs_list.sh -l outputs multiple definitions for
deps_initramfs -- one for each argument.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Cc: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-11-25 13:28:33 -08:00
..
.gitignore Add some basic .gitignore files 2005-10-18 08:26:15 -07:00
gen_init_cpio.c [PATCH] Fix potential NULL pointer deref in gen_init_cpio 2006-04-19 09:13:52 -07:00
initramfs_data.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig kconfig: move initramfs options to General Setup 2005-08-10 20:44:50 +02:00
Makefile [PATCH] initramfs: handle more than one source dir or file list 2006-11-25 13:28:33 -08:00