From: Richard Jones Date: Mon, 13 Sep 2010 13:44:05 +0000 (+0100) Subject: ubuntu: /proc can be a symlink X-Git-Tag: 1.5.13~4 X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=93ae3fa9da7e31bba563977ee61b2df1b395400f;hp=da107cf3d959af2d41da4bec3b9f2fd7c09c7ae9 ubuntu: /proc can be a symlink If it's a symlink then the succeeding mount commnd will fail. Remove it and make a /proc directory. --- diff --git a/appliance/init b/appliance/init index cda6453..bd93d15 100755 --- a/appliance/init +++ b/appliance/init @@ -7,6 +7,7 @@ export PATH mkdir -p /sysroot +rm -f /proc; mkdir /proc mount -t proc /proc /proc mount -t sysfs /sys /sys