From fc6e7c453534a1b954f88c29de32513e9f094fbb Mon Sep 17 00:00:00 2001 From: "Rodney W. Grimes" Date: Sun, 12 Sep 1993 20:37:05 +0000 Subject: [PATCH] Only put var and var/tmp in the cpio archive floppy, do not really need the whole /var tree at this time. --- etc/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/etc/Makefile b/etc/Makefile index 57bda9662b23..2121e7c6b01e 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -69,7 +69,7 @@ CPIO_CPIO+= usr/bin/awk usr/bin/chgrp usr/bin/ftp CPIO_CPIO+= usr/bin/more usr/bin/tar usr/bin/tip CPIO_CPIO+= usr/bin/elvis usr/bin/ex usr/bin/vi usr/bin/view CPIO_CPIO+= usr/sbin/update usr/sbin/chown -CPIO_CPIO+= var +CPIO_CPIO_DIRS= var var/tmp DOS_FILES= ${COPYRIGHT} DOS_FILES+= bin/cat bin/dd bin/ed @@ -271,7 +271,8 @@ cpio-floppy: (cd ${DESTDIR}/; \ ls ${CPIO_FILES} | cpio -pdamuv ${MOUNT}) (cd ${DESTDIR}/; \ - find ${CPIO_CPIO} | cpio -oav | gzip -9 >${MOUNT}/inst2.cpio.gz) + (find ${CPIO_CPIO}; ls -d ${CPIO_CPIO_DIRS}) | \ + cpio -oav | gzip -9 >${MOUNT}/inst2.cpio.gz) install -c -o root -g wheel -m 755 etc.i386/inst2.profile \ ${MOUNT}/.profile install -c -o root -g wheel -m 755 etc.i386/inst2.install \