git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da107cf
)
ubuntu: /proc can be a symlink
author
Richard Jones
<rjones@redhat.com>
Mon, 13 Sep 2010 13:44:05 +0000
(14:44 +0100)
committer
Richard Jones
<rjones@redhat.com>
Mon, 13 Sep 2010 13:44:05 +0000
(14:44 +0100)
If it's a symlink then the succeeding mount commnd will fail.
Remove it and make a /proc directory.
appliance/init
patch
|
blob
|
history
diff --git
a/appliance/init
b/appliance/init
index
cda6453
..
bd93d15
100755
(executable)
--- 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