minix/tools/chrootmake.sh

25 lines
575 B
Bash
Raw Normal View History

2005-04-21 16:53:53 +02:00
#!/bin/sh
set -e
2005-04-21 16:53:53 +02:00
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
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
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
#cp image_small /boot || exit 1
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
binsizes normal
2005-04-21 16:53:53 +02:00
exit 0