? distrib/sparc64/xminiroot/xminiroot.log Index: distrib/sparc64/xminiroot/Makefile =================================================================== RCS file: /cvsroot/src/distrib/sparc64/xminiroot/Makefile,v retrieving revision 1.30 diff -u -r1.30 Makefile --- distrib/sparc64/xminiroot/Makefile 27 Jan 2014 08:18:07 -0000 1.30 +++ distrib/sparc64/xminiroot/Makefile 27 May 2014 04:00:01 -0000 @@ -6,10 +6,19 @@ .include .include "${.CURDIR}/../instfs/Makefile.instfs" -IMAGE= miniroot.fs -IMAGESIZE= 12m -IMAGEPOSTBUILD= ${TOOL_INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} \ - ${DESTDIR}/usr/mdec/bootblk +IMAGE= miniroot.fs +NUMCYLS= 12 # size of image in MB, tune this if we need more space +SECSPERCYL= 2048 +CYLSIZE= $$(( ${SECSPERCYL} * 512 )) +IMAGESIZE= $$(( ${NUMCYLS} * ${CYLSIZE} )) +IMAGEPOSTBUILD= \ + ${TOOL_INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} \ + ${DESTDIR}/usr/mdec/bootblk && \ + echo "Creating disklabel" && \ + printf 'V nsect %d\nV nhead 1\nV rpm 7200\nV pcyl %d\nV ncyl %d\na 0 %d/0/0\nc 0 %d/0/0\nd 0 %d/0/0\nW\nL\nP\n' \ + ${SECSPERCYL} ${NUMCYLS} ${NUMCYLS} ${NUMCYLS} ${NUMCYLS} ${NUMCYLS} | \ + ${TOOL_SUNLABEL} -nq ${IMAGE} + IMAGE_RELEASEDIR= installation/miniroot CRUNCHBINDIR!= cd ${INSTFSDIR} && ${PRINTOBJDIR}