]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Create /etc/passwd in shared rootfs
authorSasha Levin <levinsasha928@gmail.com>
Mon, 7 Nov 2011 21:36:21 +0000 (23:36 +0200)
committerPekka Enberg <penberg@kernel.org>
Thu, 10 Nov 2011 06:49:42 +0000 (08:49 +0200)
commit9c22b9873aed0922d55ca11fba72d02fbc385d0b
treeeb639e71c7d5684e3ed74ea7080aa6a4696f4ca2
parent7975db00ee4d75810be8f550c82bf4134c008a93
kvm tools: Create /etc/passwd in shared rootfs

This patch creates a dummy /etc/passwd on guest creation.

This is done because some applications (read: git) get angry when they
can't find current user in /etc/passwd.

Reported-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/builtin-setup.c
tools/kvm/guest/passwd [new file with mode: 0644]