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