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:
eb209a3
)
Create /sys directory if it doesn't exist already.
author
Richard W.M. Jones
<rjones@redhat.com>
Thu, 1 Sep 2011 11:58:30 +0000
(12:58 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Thu, 1 Sep 2011 12:00:24 +0000
(13:00 +0100)
Ubuntu 10.04 LTS packages don't create /sys.
appliance/init
patch
|
blob
|
history
diff --git
a/appliance/init
b/appliance/init
index
8bc422d
..
50dd76d
100755
(executable)
--- 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