From: Richard W.M. Jones Date: Thu, 1 Sep 2011 11:58:30 +0000 (+0100) Subject: Create /sys directory if it doesn't exist already. X-Git-Tag: 1.13.11~4 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=5b012024c49672cc69635ff01f9b9e4f87de1c65;p=libguestfs.git Create /sys directory if it doesn't exist already. Ubuntu 10.04 LTS packages don't create /sys. --- diff --git a/appliance/init b/appliance/init index 8bc422d..50dd76d 100755 --- a/appliance/init +++ b/appliance/init @@ -14,6 +14,7 @@ mkdir -p /sysroot rm -f /proc; mkdir /proc mount -t proc /proc /proc +rm -f /sys; mkdir /sys mount -t sysfs /sys /sys if [ ! -L /etc/init.d/udev -a -x /etc/init.d/udev ]; then