1 1.3 simonb # $NetBSD: Makefile.inc,v 1.3 1999/04/16 13:31:40 simonb 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.2 is NEWFSOPTS?= -c 64 -B le 7 1.1 jonathan DISKTYPE?= miniroot 8 1.3 simonb LABELPROTO?= ${.CURDIR}/../${MACHINE}/miniroot/diskimage.label.proto 9 1.1 jonathan 10 1.1 jonathan # 11 1.1 jonathan # install bootblock, so that we can boot from there 12 1.1 jonathan # 13 1.1 jonathan #BOOTINSTALL=${DESTDIR}/usr/mdec/installboot ${DESTDIR}/usr/mdec/xxboot ${VND_RDEV} 14 1.1 jonathan PMAX_MDEC_CMD?=-B -b /usr/mdec/rzboot -s /usr/mdec/bootrz 15 1.1 jonathan LABEL_CMD?=${DESTDIR}/sbin/disklabel -r -w ${PMAX_MDEC_CMD} ${VND_RDEV} 16 1.1 jonathan 17 1.1 jonathan 18 1.1 jonathan # write bootblocks. Update label with fictious name and geometry 19 1.1 jonathan # that instructs kernel to recompute label from # SCSI geometry info 20 1.1 jonathan # (since one install method is to dd this onto the start of a disk.) 21 1.1 jonathan BOOTINSTALL= ${DESTDIR}/sbin/disklabel -r -R ${PMAX_MDEC_CMD} ${VND_RDEV} \ 22 1.3 simonb ${LABELPROTO} 23 1.1 jonathan 24 1.1 jonathan # Write preliminary Label so that newfs succeeds when updating label. 25 1.1 jonathan PRELABEL=${LABEL_CMD} ${DISKTYPE} 26 1.1 jonathan PRELABEL=${BOOTINSTALL} 27