diff options
Diffstat (limited to 'data/stage3.1')
| -rwxr-xr-x | data/stage3.1/init | 6 |
1 files changed, 5 insertions, 1 deletions
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 |
