From: Hilko Bengen <ben...@debian.org>

---
 appliance/init |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/appliance/init b/appliance/init
index dee4efc..6d80996 100755
--- a/appliance/init
+++ b/appliance/init
@@ -18,6 +18,9 @@ mount -t proc /proc /proc
 if [ ! -d /sys ]; then rm -f /sys; fi
 mkdir -p /sys
 mount -t sysfs /sys /sys
+# taken from initramfs-tools/init --Hilko Bengen
+mkdir -p /run
+mount -t tmpfs -o "nosuid,size=20%,mode=0755" tmpfs /run
 mkdir -p /run/lock
 
 # devtmpfs is required since udev 176
-- 
1.7.10.4

_______________________________________________
Libguestfs mailing list
Libguestfs@redhat.com
https://www.redhat.com/mailman/listinfo/libguestfs

Reply via email to