From f1d2a176caae51bf1dac6127c1b4303cbce7515a Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Thu, 21 Feb 2013 12:23:16 +0100 Subject: [core] stage31 lib as symlink to use /mnt/lib when squashfs is mounted --- data/stage3.1/init | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'data/stage3.1/init') diff --git a/data/stage3.1/init b/data/stage3.1/init index c51abbea..7e633ff9 100755 --- a/data/stage3.1/init +++ b/data/stage3.1/init @@ -13,6 +13,7 @@ ############################################################################# export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/openslx/bin:/openslx/sbin +export LD_LIBRARY_PATH=/openslx/lib mount -n -t tmpfs -o 'mode=755' run "/run" @@ -35,7 +36,7 @@ mount -n -t aufs -o br:/dev/shm/uniontmp:/rorootfs=ro none /mnt mkdir -p /mnt/uniontmp /mnt/tmp mount -n --move /dev/shm/uniontmp /mnt/uniontmp -ln -s /mnt/lib/modules /lib/ +ln -sf /mnt/lib / cat /proc/uptime >/mnt/tmp/runtime @@ -67,6 +68,8 @@ case $(cat /etc/hwinfo) in esac ( modprobe -a drm fbcon; mdev -s ) & +#ln -s /mnt/share / + # load required network and usb controller drivers, filter out wireless adaptors while ps | grep -v grep | grep -q " hwinfo --netcard" ; do usleep 10 ; done nwcardlist="forcedeth|e1000e|e1000|e100|tg3|via-rhine|r8169|pcnet32" -- cgit v1.2.3-55-g7522