Source-Changes-HG archive

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

[src/trunk]: src/distrib/pmax/ramdisk Build a tar file of the ramdisk.fs suit...



details:   https://anonhg.NetBSD.org/src/rev/9afc1e18b22a
branches:  trunk
changeset: 471964:9afc1e18b22a
user:      simonb <simonb%NetBSD.org@localhost>
date:      Fri Apr 16 14:12:14 1999 +0000

description:
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 fc7b02d9e004 -r 9afc1e18b22a distrib/pmax/ramdisk/Makefile
--- a/distrib/pmax/ramdisk/Makefile     Fri Apr 16 13:35:41 1999 +0000
+++ b/distrib/pmax/ramdisk/Makefile     Fri Apr 16 14:12:14 1999 +0000
@@ -1,10 +1,11 @@
-#      $NetBSD: Makefile,v 1.2 1999/03/04 20:32:20 wrstuden Exp $
+#      $NetBSD: Makefile,v 1.3 1999/04/16 14:12:14 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