minix/tools/chrootmake.sh

16 lines
372 B
Bash
Raw Normal View History

2005-04-21 16:53:53 +02:00
#!/bin/sh
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
cd /usr/src || exit 1
make world install || exit 1
cd tools || exit 1
rm revision
2005-05-03 10:54:36 +02:00
make hdboot || exit 1
cp ../boot/boot /boot/boot || exit 1
cd /usr/src || exit 1
make clean
# Put compiler and libraries on root (ramdisk if enabled)
cp /usr/lib/* /lib
cp /usr/lib/i386/* /lib/i386/
2005-04-21 16:53:53 +02:00
exit 0