Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2001 12:10:06 +0300
From:      Victor Ivanov <v0rbiz@icon.bg>
To:        freebsd-hackers@freebsd.org
Subject:   Re: making release without full CVS tree?
Message-ID:  <20010326121006.A85033@icon.icon.bg>
In-Reply-To: <200103260751.f2Q7pMV06529@ns.any.ru>; from avn@ns.any.ru on Mon, Mar 26, 2001 at 11:51:22AM %2B0400
References:  <200103260751.f2Q7pMV06529@ns.any.ru>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Mon, Mar 26, 2001 at 11:51:22AM +0400, Alexey V. Neyman wrote:
> Hello there!
> 
> I just read FAQ on making release and have one question. FAQ says I must
> be having full CVS source tree (or be able to access it via CVSROOT), but
> I'm behind modem connection. So I'm curious why it is not enough to have
> a cvsupped src-all/doc-all/ports-all collections? And is there a way to
> avoid loading CVS tree for making release and generate it from these
> collections?
> 
> # Alexey
> 
> PS. The goal is to make a CD with a 5.0 snapshot to install it at home
> (where I have no internet access) and keep it up-to-date by later burning
> cvsuppable collections on a CD-RW at work.

I have done that. There are three places in /usr/src/release/Makefile where
cvs is used to get the tree in the will-be-chrooted dir. You can add a simple
.if defined(NOCVS) or something and copy the tree from the sources instead of
invoking cvs. This works but it's buggy: you can have log files from makes in
the src dir (you should delete them manualy) or you can have work dirs in the
ports collection. Also, you might not need the distfiles/ and packages/ dir
from the ports :).

Will it be useful if I send PR or something with a patch? Should I use tar
 -cf - | tar xf - instead of cp -R? (tar has nice --exclude pattern switch
for not copying distfiles/ and packages/ and even work dirs..).

-- 
Players win and Winners play
Have a lucky day

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.1i

iQCVAwUBOr8HbPD9M5lef5W3AQGCFwQAsKy+FoXiTThRP9GYGGwN+IP6qiow/er9
IaEwgDBpvyy+kx3MSPRkS3YKT4mb0gMflt3vx7z2oOQh8CJpvcY2Zja0PtMWKumb
ib3NgNT8aZ1qZtD/irgwqa9CKqg6FogRaM3A/Jtk2IrfMdsZojZR7AcE8vUNjGRk
QtNSdDon8Ts=
=i+bl
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010326121006.A85033>