Date: Tue, 4 Jan 2000 13:16:54 +1100 From: peter.jeremy@alcatel.com.au To: freefall-gnats@gsmx07.alcatel.com.au Subject: misc/15871: CVS directories copied to PicoBSD filesystems Message-ID: <00Jan4.131654est.40323@border.alcanet.com.au>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00Jan4.131654est.40323>