2005-04-21 16:53:53 +02:00
|
|
|
#!/bin/sh
|
2006-03-15 16:34:12 +01:00
|
|
|
set -e
|
2005-04-21 16:53:53 +02:00
|
|
|
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
|
2006-03-26 20:08:08 +02:00
|
|
|
export SHELL=/bin/sh
|
2005-04-21 16:53:53 +02:00
|
|
|
cd /usr/src || exit 1
|
2005-09-16 15:06:57 +02:00
|
|
|
make etcfiles
|
2005-09-16 14:25:43 +02:00
|
|
|
su bin -c 'make world install' || exit 1
|
2005-04-21 16:53:53 +02:00
|
|
|
cd tools || exit 1
|
2005-06-17 18:28:36 +02:00
|
|
|
rm revision
|
2005-08-12 14:34:56 +02:00
|
|
|
rm /boot/image/*
|
2006-02-17 13:34:18 +01:00
|
|
|
make install || exit 1
|
2005-05-03 10:54:36 +02:00
|
|
|
cp ../boot/boot /boot/boot || exit 1
|
2005-08-30 19:11:36 +02:00
|
|
|
make clean
|
|
|
|
make image_small || exit 1
|
2006-02-15 12:06:32 +01:00
|
|
|
#cp image_small /boot || exit 1
|
2005-05-03 17:37:34 +02:00
|
|
|
cd /usr/src || exit 1
|
|
|
|
make clean
|
2005-08-15 11:42:40 +02:00
|
|
|
# Let man find the manpages
|
2005-09-16 14:25:43 +02:00
|
|
|
su bin -c 'makewhatis /usr/man'
|
|
|
|
su bin -c 'makewhatis /usr/gnu/man'
|
|
|
|
su bin -c 'makewhatis /usr/local/man'
|
2005-09-12 17:44:05 +02:00
|
|
|
mv /usr/src/commands /usr/src.commands
|
2006-03-03 13:44:22 +01:00
|
|
|
binsizes normal
|
2005-04-21 16:53:53 +02:00
|
|
|
exit 0
|
|
|
|
|