minix/tools/chrootmake.sh

27 lines
598 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
export SHELL=/bin/sh
2006-04-12 13:32:49 +02:00
cd /usr/src
2005-09-16 15:06:57 +02:00
make etcfiles
2006-04-12 13:32:49 +02:00
su bin -c 'make world install'
cd tools
rm revision
2005-08-12 14:34:56 +02:00
rm /boot/image/*
2006-04-12 13:32:49 +02:00
make install
2006-04-13 19:15:40 +02:00
cp /boot/image/* /boot/image_big # Make big image accessible by this name
2006-04-12 13:32:49 +02:00
cp ../boot/boot /boot/boot
2005-08-30 19:11:36 +02:00
make clean
2006-04-12 13:32:49 +02:00
make image_small
2006-04-13 19:15:40 +02:00
cp image_small /boot
2006-04-12 13:32:49 +02:00
cd /usr/src
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