From 30196b92434692707d649798fb201aa5ba3c3922 Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Fri, 19 Aug 2005 16:09:31 +0000 Subject: [PATCH] incorporate udev in the boot scripts. Now we have loads of devices :) svn path=/nixu/trunk/; revision=3638 --- boot/boot.sh | 4 ++-- boot/builder.sh | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/boot/boot.sh b/boot/boot.sh index 03cd14066b6..1589ba796e1 100644 --- a/boot/boot.sh +++ b/boot/boot.sh @@ -18,8 +18,8 @@ mount -n -t sysfs none /sys echo "remounting / writable..." mount -n -o remount,rw /dev/root / -echo "mounting /mnt/host..." -mount -n -t hostfs none /mnt/host +echo "starting udev..." +@udev@/sbin/udevstart echo "setting up hostname..." hostname uml diff --git a/boot/builder.sh b/boot/builder.sh index 5ebfadcbcf7..4b637748ade 100755 --- a/boot/builder.sh +++ b/boot/builder.sh @@ -36,6 +36,7 @@ for i in $boot $halt $login $env; do -e "s^@gcc\@^$gcc^g" \ -e "s^@mingetty\@^$mingetty^g" \ -e "s^@grub\@^$grub^g" \ + -e "s^@udev\@^$udev^g" \ -e "s^@out\@^$out^g" \ < $i > $dst chmod +x $dst