From jeremyp@gsmx07.alcatel.com.au  Mon Jan  3 18:24:16 2000
Return-Path: <jeremyp@gsmx07.alcatel.com.au>
Received: from alcanet.com.au (border.alcanet.com.au [203.62.196.10])
	by hub.freebsd.org (Postfix) with ESMTP id 053FE15361
	for <FreeBSD-gnats-submit@FreeBSD.ORG>; 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
Sender: jeremyp@gsmx07.alcatel.com.au
To: freefall-gnats@gsmx07.alcatel.com.au
Subject: CVS directories copied to PicoBSD filesystems
X-Send-Pr-Version: 3.2

>Number:         15871
>Category:       misc
>Synopsis:       CVS directories copied to PicoBSD filesystems
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-small
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan  3 18:30:01 PST 2000
>Closed-Date:    Mon Sep 3 19:46:40 PDT 2001
>Last-Modified:  Mon Sep 03 19:47:03 PDT 2001
>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:
Responsible-Changed-From-To: freebsd-bugs->freebsd-small 
Responsible-Changed-By: johan 
Responsible-Changed-When: Thu Aug 24 04:29:18 PDT 2000 
Responsible-Changed-Why:  
Over to maintainer group. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=15871 
State-Changed-From-To: open->closed 
State-Changed-By: luigi 
State-Changed-When: Mon Sep 3 19:46:40 PDT 2001 
State-Changed-Why:  
fixed some time ago, forgot to close the PR at the time. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=15871 
>Unformatted:
