Source-Changes-HG archive

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

[src/netbsd-1-4]: src/distrib/pmax/ramdisk Pull up rev 1.2 from the trunk:



details:   https://anonhg.NetBSD.org/src/rev/f6d9b06b79a5
branches:  netbsd-1-4
changeset: 468330:f6d9b06b79a5
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sat Apr 17 11:09:58 1999 +0000

description:
Pull up rev 1.2 from the trunk:
        Build a tar file of the ramdisk.fs suitable for installing on an
        NFS server for diskless installs on machines that can't netboot
        a kernel with a full ramdisk.

diffstat:

 distrib/pmax/ramdisk/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 9716cee6197f -r f6d9b06b79a5 distrib/pmax/ramdisk/Makefile
--- a/distrib/pmax/ramdisk/Makefile     Sat Apr 17 11:08:17 1999 +0000
+++ b/distrib/pmax/ramdisk/Makefile     Sat Apr 17 11:09:58 1999 +0000
@@ -1,10 +1,11 @@
-#      $NetBSD: Makefile,v 1.2 1999/03/04 20:32:20 wrstuden Exp $
+#      $NetBSD: Makefile,v 1.2.2.1 1999/04/17 11:09:58 simonb Exp $
 
 TOP?=          ${.CURDIR}/..
 ARCHDIR?=        ${.CURDIR}/../../${MACHINE}/miniroot
 
 .include "${TOP}/Makefile.inc"
 IMAGE=         ramdisk.fs
+DISKIMAGE=     diskimage.tgz
 
 CBIN=          ramdiskbin
 #CSIZE?=       6144
@@ -36,6 +37,9 @@
        @echo ""
        @df -i ${MOUNT_POINT}
        @echo ""
+       @echo Building diskimage tar file...
+       tar cf - -C ${MOUNT_POINT} . | gzip -9 > ${DISKIMAGE}
+       @echo ""
        umount ${MOUNT_POINT}
        vnconfig -u ${VND_CDEV}
 



Home | Main Index | Thread Index | Old Index