From 986ddb2887fe6b9b78e2b4a6c2e836cbffd3ab97 Mon Sep 17 00:00:00 2001 From: Tomas M Date: Thu, 11 Oct 2012 21:59:44 -0500 Subject: [PATCH] more universal fixes --- livekitlib | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/livekitlib b/livekitlib index d00efd4..b0b45d8 100644 --- a/livekitlib +++ b/livekitlib @@ -428,9 +428,11 @@ change_root() cd "$1" - # make sure important devices are in union + # make sure important files devices are in union + mkdir -p boot dev proc sys tmp mnt run if [ ! -e dev/console ]; then mknod dev/console c 5 1; fi if [ ! -e dev/null ]; then mknod dev/null c 1 3; fi + if [ ! -e sbin/fsck.aufs ]; then ln -s /bin/true sbin/fsck.aufs; fi # find chroot and init if [ -x bin/chroot ]; then CHROOT=bin/chroot; fi