diff options
author | Paul Bolle <pebolle@tiscali.nl> | 2008-03-10 16:39:03 +0100 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-03-11 09:35:58 +1100 |
commit | 1ef36fa64e65079de18ff5179a51af58e44d49a6 (patch) | |
tree | 3c59c9e4ed6327327191e916051c5f088e7478bf /lib/bitmap.c | |
parent | 4357bd9453b81e0a41db1dec16e06d74256b7560 (diff) |
lguest: Do not append space to guests kernel command line
The lguest launcher appends a space to the kernel command line (if kernel
arguments are specified on its command line). This space is unneeded. More
importantly, this appended space will make Red Hat's nash script interpreter
(used in a Fedora style initramfs) add an empty argument to init's command
line. This empty argument will make kernel arguments like "init=/bin/bash"
fail (because the shell will try to execute a script with an empty name).
This could be considered a bug in nash, but is easily fixed in the lguest
launcher too.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions