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