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:
b288a1b
)
Ubuntu 11.10: Create /run and /run/lock if not already.
author
Richard W.M. Jones
<rjones@redhat.com>
Tue, 18 Oct 2011 14:22:01 +0000
(15:22 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Tue, 18 Oct 2011 14:22:04 +0000
(15:22 +0100)
In real machines these directories are a ramdisk.
appliance/init
patch
|
blob
|
history
diff --git
a/appliance/init
b/appliance/init
index
50dd76d
..
d207b8e
100755
(executable)
--- a/
appliance/init
+++ b/
appliance/init
@@
-16,6
+16,7
@@
rm -f /proc; mkdir /proc
mount -t proc /proc /proc
rm -f /sys; mkdir /sys
mount -t sysfs /sys /sys
+mkdir -p /run/lock
if [ ! -L /etc/init.d/udev -a -x /etc/init.d/udev ]; then
if type service >/dev/null 2>&1; then