From owner-freebsd-bugs Mon Jan 3 18:30: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 47DD314F9C for ; Mon, 3 Jan 2000 18:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA69978; Mon, 3 Jan 2000 18:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from alcanet.com.au (border.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (Postfix) with ESMTP id 053FE15361 for ; Mon, 3 Jan 2000 18:24:06 -0800 (PST) (envelope-from jeremyp@gsmx07.alcatel.com.au) Received: by border.alcanet.com.au id <40323>; Tue, 4 Jan 2000 13:16:54 +1100 Message-Id: <00Jan4.131654est.40323@border.alcanet.com.au> Date: Tue, 4 Jan 2000 13:16:54 +1100 From: peter.jeremy@alcatel.com.au To: freefall-gnats@gsmx07.alcatel.com.au X-Send-Pr-Version: 3.2 Subject: misc/15871: CVS directories copied to PicoBSD filesystems Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15871 >Category: misc >Synopsis: CVS directories copied to PicoBSD filesystems >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 3 18:30:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Peter Jeremy >Release: FreeBSD 4.0-CURRENT i386 >Organization: >Environment: Today's -stable and -current >Description: During the traditional ("cd build;sh build") PicoBSD build, the contents of both the common and build-specific floppy.tree directories are copied onto the PicoBSD MFS. If the build tree was checked out from CVS, these directories will include CVS directories, which will be copied as well. >How-To-Repeat: Build and boot PicoBSD. Run `ls' on the /, /etc and /etc/ppp directory - they will all contain unnecessary CVS subdirectories. >Fix: Either add `CVS' to the exclusion list in each floppy.tree.exclude file, or generically exclude it in the build script: Index: release/picobsd/build/stage1 =================================================================== RCS file: /home/CVSROOT/src/release/picobsd/build/stage1,v retrieving revision 1.7.2.6 diff -u -r1.7.2.6 stage1 --- stage1 1999/10/17 23:05:12 1.7.2.6 +++ stage1 1999/12/20 03:15:56 @@ -187,11 +187,11 @@ else excl="" fi -(cd ${BUILDDIR}/../floppy.tree ; tar -cf - ${excl} . ) | (cd /mnt ; tar xvf - ) +(cd ${BUILDDIR}/../floppy.tree ; tar -cf - ${excl} --exclude CVS . ) | (cd /mnt ; tar xvf - ) if [ -d ${BUILDDIR}/../${TYPE}/floppy.tree ] ; then echo "-> update with private files:" - (cd ${BUILDDIR}/../${TYPE}/floppy.tree ; tar cf - . ) | (cd /mnt ; tar xvf - ) + (cd ${BUILDDIR}/../${TYPE}/floppy.tree ; tar -cf - --exclude CVS . ) | (cd /mnt ; tar xvf - ) fi files="hosts motd" >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message