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