From 546e210da369ad0d72163cbe189a1fd10b7ee295 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 18 Oct 2011 15:22:01 +0100 Subject: [PATCH] Ubuntu 11.10: Create /run and /run/lock if not already. In real machines these directories are a ramdisk. (cherry picked from commit 6d7d645cdd4a9c94c4d95fc52de53c37b88847e4) --- appliance/init | 1 + 1 file changed, 1 insertion(+) diff --git a/appliance/init b/appliance/init index 50dd76d..d207b8e 100755 --- 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 -- 1.8.3.1