Source-Changes-HG archive

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

[src/trunk]: src/distrib/pmax/instkernel Gzip the diskimage.



details:   https://anonhg.NetBSD.org/src/rev/1f0157de7e4a
branches:  trunk
changeset: 472296:1f0157de7e4a
user:      simonb <simonb%NetBSD.org@localhost>
date:      Tue Apr 27 01:34:49 1999 +0000

description:
Gzip the diskimage.

diffstat:

 distrib/pmax/instkernel/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r 02032a7d185b -r 1f0157de7e4a distrib/pmax/instkernel/Makefile
--- a/distrib/pmax/instkernel/Makefile  Tue Apr 27 00:05:44 1999 +0000
+++ b/distrib/pmax/instkernel/Makefile  Tue Apr 27 01:34:49 1999 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 1999/04/16 16:08:28 simonb Exp $
+#      $NetBSD: Makefile,v 1.5 1999/04/27 01:34:49 simonb Exp $
 
 
 IMAGE=         diskimage
@@ -19,7 +19,7 @@
 VND_RDEV=      /dev/r${VND}
 MOUNT_POINT?=  /mnt
 
-all:   netbsd.gz ${IMAGE}
+all:   netbsd.gz ${IMAGE}.gz
 
 netbsd.gz: ${KERN} ${RAMDISK}
        cp ${KERN} netbsd
@@ -30,7 +30,7 @@
        rm -f netbsd.gz
        gzip -9 netbsd
 
-${IMAGE}: netbsd.gz ${DESTDIR}/usr/mdec/boot
+${IMAGE}.gz: netbsd.gz ${DESTDIR}/usr/mdec/boot
        dd if=/dev/zero of=${IMAGE} count=${IMAGESIZE}
        vnconfig ${DISKTYPEARG} -v -c ${VND_DEV} ${IMAGE} ${VND_GEOM}
        ${PRELABEL}
@@ -44,6 +44,7 @@
        @echo ""
        umount ${MOUNT_POINT}
        vnconfig -u ${VND_DEV}
+       gzip -9 ${IMAGE}
 
 clean cleandir distclean:
        rm -f ${CLEANFILES}



Home | Main Index | Thread Index | Old Index