summaryrefslogtreecommitdiffstats
path: root/appliance
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-09-13 14:44:05 +0100
committerRichard Jones <rjones@redhat.com>2010-09-13 14:44:05 +0100
commit93ae3fa9da7e31bba563977ee61b2df1b395400f (patch)
tree0e01de5c593f1916ef78e69bf8860a42a3b60c8a /appliance
parentda107cf3d959af2d41da4bec3b9f2fd7c09c7ae9 (diff)
downloadlibguestfs-93ae3fa9da7e31bba563977ee61b2df1b395400f.tar.gz
libguestfs-93ae3fa9da7e31bba563977ee61b2df1b395400f.tar.xz
libguestfs-93ae3fa9da7e31bba563977ee61b2df1b395400f.zip
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.
Diffstat (limited to 'appliance')
-rwxr-xr-xappliance/init1
1 files changed, 1 insertions, 0 deletions
diff --git a/appliance/init b/appliance/init
index cda64531..bd93d159 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