1999-06-22 09:51:31 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# configurable variables
|
|
|
|
master=bento
|
|
|
|
chroot=/a/asami/chroot
|
|
|
|
kernelconfig=CLUSTER
|
|
|
|
|
|
|
|
PATH=/sbin:/usr/sbin:$PATH
|
|
|
|
|
|
|
|
if [ -f /usr/src/Makefile ]; then
|
|
|
|
mv /usr/src /usr/old.src
|
|
|
|
mv /usr/obj /usr/old.obj
|
|
|
|
mkdir /usr/src /usr/obj
|
|
|
|
fi
|
|
|
|
|
1999-09-11 00:06:08 +00:00
|
|
|
mount -o -2 $master:$chroot/usr/src /usr/src
|
|
|
|
mount -o -2 $master:$chroot/usr/obj /usr/obj
|
1999-06-22 09:51:31 +00:00
|
|
|
|
|
|
|
echo "installing world"
|
|
|
|
cd /usr/src && make installworld > /usr/tmp/make.0 2>&1 </dev/null
|
|
|
|
cd /sys/compile/$kernelconfig && make install
|
|
|
|
|
|
|
|
cd /
|
|
|
|
|
2000-08-29 08:13:18 +00:00
|
|
|
umount -f /usr/src /usr/obj
|
1999-06-22 09:51:31 +00:00
|
|
|
|
|
|
|
reboot
|