From 64b52244915f7a73403d54f5316bb2c3bd33239b Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Mon, 25 Feb 2013 17:39:16 +0100 Subject: ? --- data/stage3.1/init | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'data') diff --git a/data/stage3.1/init b/data/stage3.1/init index 14516a50..f25ddc7b 100755 --- a/data/stage3.1/init +++ b/data/stage3.1/init @@ -21,6 +21,8 @@ mount -n -t tmpfs -o 'mode=755' run "/run" [ ! -f /proc/cpuinfo ] && mount -n -t proc proc /proc [ ! -d /sys/class ] && mount -n -t sysfs sysfs /sys +echo "/sbin/mdev" > /proc/sys/kernel/hotplug + # read primary graphic adaptor configuration (without proprietary drivers yet) ( hwinfo --gfxcard > /etc/hwinfo ) & @@ -36,7 +38,9 @@ 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 -sf /mnt/lib / +[ ! -d /lib ] && unlink /lib && mkdir /lib +mount --bind /mnt/lib /lib +#ln -sf /mnt/lib / cat /proc/uptime >/mnt/tmp/runtime -- cgit v1.2.3-55-g7522