Makefile.inc revision 1.1 1 # $NetBSD: Makefile.inc,v 1.1 1998/11/17 02:38:17 jonathan Exp $
2
3 VND= vnd0c
4 #IMAGESIZE?= 8192 # 512 byte blocks
5 IMAGESIZE?= 65536 # 512 byte blocks: full 32-meg root.
6 NEWFSOPTS?= -c 64
7 DISKTYPE?= miniroot
8
9 #
10 # install bootblock, so that we can boot from there
11 #
12 #BOOTINSTALL=${DESTDIR}/usr/mdec/installboot ${DESTDIR}/usr/mdec/xxboot ${VND_RDEV}
13 PMAX_MDEC_CMD?=-B -b /usr/mdec/rzboot -s /usr/mdec/bootrz
14 LABEL_CMD?=${DESTDIR}/sbin/disklabel -r -w ${PMAX_MDEC_CMD} ${VND_RDEV}
15
16
17 # write bootblocks. Update label with fictious name and geometry
18 # that instructs kernel to recompute label from # SCSI geometry info
19 # (since one install method is to dd this onto the start of a disk.)
20 BOOTINSTALL= ${DESTDIR}/sbin/disklabel -r -R ${PMAX_MDEC_CMD} ${VND_RDEV} \
21 ${.CURDIR}/../${MACHINE}/miniroot/diskimage.label.proto
22
23 # Write preliminary Label so that newfs succeeds when updating label.
24 PRELABEL=${LABEL_CMD} ${DISKTYPE}
25 PRELABEL=${BOOTINSTALL}
26