Commit | Line | Data |
---|---|---|
fff3e88c MK |
1 | #!/bin/sh |
2 | # | |
3 | # Copyright (c) 1986 Regents of the University of California. | |
4 | # All rights reserved. The Berkeley software License Agreement | |
5 | # specifies the terms and conditions for redistribution. | |
6 | # | |
ef13a482 | 7 | # @(#)buildboot 1.2 (Berkeley) %G% |
fff3e88c | 8 | # |
ef13a482 KB |
9 | boot=dk2a |
10 | boottype=xfd | |
11 | bootmnt=/tmp/mini | |
fff3e88c MK |
12 | DISTROOT=/nbsd |
13 | ||
14 | date | |
15 | umount /dev/${boot} | |
ef13a482 | 16 | newfs -s 1200 ${boot} ${boottype} |
fff3e88c | 17 | fsck /dev/r${boot} |
ef13a482 KB |
18 | mount /dev/${boot} ${bootmnt} |
19 | cp $DISTROOT/stand/copy ${bootmnt} | |
20 | #cp $DISTROOT/stand/vdformat ${bootmnt} | |
21 | cp $DISTROOT/boot ${bootmnt} | |
22 | cp $DISTROOT/wcs ${bootmnt} | |
23 | cp $DISTROOT/fppwcs ${bootmnt} | |
24 | #cp $DISTROOT/poc ${bootmnt} | |
25 | #cp $DISTROOT/poc1 ${bootmnt} | |
26 | #cp $DISTROOT/poc2 ${bootmnt} | |
27 | #cp $DISTROOT/fppoc ${bootmnt} | |
fff3e88c MK |
28 | sync |
29 | umount /dev/${boot} | |
30 | fsck /dev/${boot} | |
31 | date |