current CVS tree vs released CVS tree

current CVS tree vs released CVS tree

Post by Chris Borrell » Sat, 01 Dec 2001 08:00:40



Hello,

I can't seem to find any documentation regarding the different directory
structures from the current (dev) CVS tree and the released structure.

In the releases, the source is in src/*

In the current (dev) CVS tree, the source is broken up into a few
directories:

    example:
        basesrc/*
        syssrc/*

Does anyone know why this is done this way?  Doesn't this confuse the
Makefiles?

 Thanks for any help.

 -Chris

 
 
 

current CVS tree vs released CVS tree

Post by Hubert Feyre » Sat, 01 Dec 2001 11:13:49



> In the releases, the source is in src/*

> In the current (dev) CVS tree, the source is broken up into a few
> directories:

>     example:
>         basesrc/*
>         syssrc/*

> Does anyone know why this is done this way?  Doesn't this confuse the
> Makefiles?

Um, actually the layout is the same on both, release and -current:

"src" is just an alias to checkout basesrc, syssrc, gnusrc and whatnot.
You can do that for both release and -current, and shouldn't bother
to check out the parts of "src".

"cvs co src" is what you want. ;-)

 - Hubert

--
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup  -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/

 
 
 

current CVS tree vs released CVS tree

Post by Chris Borrell » Sun, 02 Dec 2001 06:56:14


I went ahead and just co'd the whole src tree.  What I was trying to do was
checkout just the kernel and related items for a particular architecture.  So I
was trying things like 'cvs co syssrc/sys/arch/powerpc'.  This created a root
dir of syssrc instead of the traditional src dir.  I guess if I do that in the
future, I can just rename it to src??

Thanks for the help, Hubert.

 -Chris



> > In the releases, the source is in src/*

> > In the current (dev) CVS tree, the source is broken up into a few
> > directories:

> >     example:
> >         basesrc/*
> >         syssrc/*

> > Does anyone know why this is done this way?  Doesn't this confuse the
> > Makefiles?

> Um, actually the layout is the same on both, release and -current:

> "src" is just an alias to checkout basesrc, syssrc, gnusrc and whatnot.
> You can do that for both release and -current, and shouldn't bother
> to check out the parts of "src".

> "cvs co src" is what you want. ;-)

>  - Hubert

> --
> Want to get a clue on IPv6 but don't know where to start? Try this:
> * Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
> * Setup  -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html
> Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/

 
 
 

current CVS tree vs released CVS tree

Post by Hubert Feyre » Sun, 02 Dec 2001 11:01:32



> I went ahead and just co'd the whole src tree.  What I was trying to do was
> checkout just the kernel and related items for a particular architecture.  So I
> was trying things like 'cvs co syssrc/sys/arch/powerpc'.  This created a root
> dir of syssrc instead of the traditional src dir.  I guess if I do that in the
> future, I can just rename it to src??

I'm not sure if renaming works.
Sure you get TRT with "cvs co src/sys".

 - Hubert

--
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup  -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/