source: trunk/minix/tools/chrootmake.sh@ 11

Last change on this file since 11 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

  • Property svn:executable set to *
File size: 598 bytes
Line 
1#!/bin/sh
2set -e
3export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
4export SHELL=/bin/sh
5cd /usr/src
6make etcfiles
7su bin -c 'make world install'
8cd tools
9rm revision
10rm /boot/image/*
11make install
12cp /boot/image/* /boot/image_big # Make big image accessible by this name
13cp ../boot/boot /boot/boot
14make clean
15make image_small
16cp image_small /boot
17cd /usr/src
18make clean
19# Let man find the manpages
20su bin -c 'makewhatis /usr/man'
21su bin -c 'makewhatis /usr/gnu/man'
22su bin -c 'makewhatis /usr/local/man'
23mv /usr/src/commands /usr/src.commands
24binsizes normal
25exit 0
26
Note: See TracBrowser for help on using the repository browser.