Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/distrib/sun3/miniroot Pull up revision 1.19 (requested ...



details:   https://anonhg.NetBSD.org/src/rev/e0305e9fa4e4
branches:  netbsd-1-5
changeset: 491250:e0305e9fa4e4
user:      he <he%NetBSD.org@localhost>
date:      Sat Apr 21 18:37:29 2001 +0000

description:
Pull up revision 1.19 (requested by he):
  Bump the sun3 miniroot size from 10M to 12M, and add an
  ``unconfig'' rule.

diffstat:

 distrib/sun3/miniroot/Makefile |  13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r a0902765ad30 -r e0305e9fa4e4 distrib/sun3/miniroot/Makefile
--- a/distrib/sun3/miniroot/Makefile    Sat Apr 21 18:36:34 2001 +0000
+++ b/distrib/sun3/miniroot/Makefile    Sat Apr 21 18:37:29 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.18 2000/06/19 14:39:24 tsutsui Exp $
+#      $NetBSD: Makefile,v 1.18.2.1 2001/04/21 18:37:29 he Exp $
 
 TOP=           ${.CURDIR}/..
 
@@ -23,9 +23,9 @@
 VND_RDEV?=     /dev/r${VND}a
 VND_CRDEV?=    /dev/r${VND}c
 
-# These are all the parameters for the miniroot: (10MB)
+# These are all the parameters for the miniroot: (12MB)
 DISKTYPE=      miniroot
-SIZE=          10
+SIZE=          12
 # bigendian, old format, minfree, opt, b/i, cpg
 NEWFSARGS= -B be -O -m 0 -o space -i 8192 -c 16
 
@@ -36,7 +36,7 @@
 ${IMAGE}.gz: ${TREE} ${LISTS} install.sub
        dd if=/dev/zero of=${IMAGE} bs=1024k count=${SIZE}
        vnconfig -t ${DISKTYPE} -v -c ${VND} ${IMAGE}
-       disklabel -rw ${VND} ${DISKTYPE}
+       disklabel -f ${.CURDIR}/disktab -rw ${VND} ${DISKTYPE}
        newfs ${NEWFSARGS} ${VND_RDEV}
        mount ${VND_DEV} ${MOUNT_POINT}
        mtree -def ${TREE} -p ${MOUNT_POINT}/ -u
@@ -57,6 +57,11 @@
        gzip -9 -c ${IMAGE} > ${IMAGE}.tmp
        -mv -f ${IMAGE}.tmp ${IMAGE}.gz
 
+unconfig:
+       -umount -f ${MOUNT_POINT}
+       -vnconfig -u ${VND_DEV}
+       -/bin/rm -f ${IMAGE} ${IMAGE}.tmp
+
 # Do not delete this if I change my mind and kill make...
 .PRECIOUS: ${IMAGE}.gz
 



Home | Main Index | Thread Index | Old Index