Questions concerning the FreeBSD source tree

Questions concerning the FreeBSD source tree

Post by David Vidal Rodrígue » Wed, 12 Jun 2002 03:49:57



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am going to upgrade my FreeBSD 4.5 to 4.6 (as many of us, I believe),
but before this, I would like to know some things - yes, newbie :)

~ - Is the source tree /usr/src roughly equivalent to the first
~   CD of a binary release, or does it include some more packages?
~ - If not, will "make installworld" upgrade just the packages I have
~   installed?
~ - How can I tell what RELENG I have cvsup'ed?

For the interested, here is a link to the cvsup-file I've used:
http://home.in.tum.de/vidalrod/downloads/freebsd-upgrade

I ask because I've found nowhere in the sources, which I have downloaded
today Monday, any evidence that this _really_ is a 4.6-{RELEASE,STABLE},
and upgrading to the same version (or even less) isn't that fun :)

Thank you in advance!
David.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9BPTVK3CyMA5SxrwRAtkgAKC1UyNDQId0wF9Fl6bDn+2CRBs7jACeO+zJ
O4iuRcBfAHIGuduMEziST0w=
=nJgt
-----END PGP SIGNATURE-----

 
 
 

Questions concerning the FreeBSD source tree

Post by annel.. » Wed, 12 Jun 2002 10:50:33



Quote:> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> I am going to upgrade my FreeBSD 4.5 to 4.6 (as many of us, I believe),
> but before this, I would like to know some things - yes, newbie :)
> ~ - Is the source tree /usr/src roughly equivalent to the first
> ~   CD of a binary release, or does it include some more packages?
> ~ - If not, will "make installworld" upgrade just the packages I have
> ~   installed?
> ~ - How can I tell what RELENG I have cvsup'ed?
> For the interested, here is a link to the cvsup-file I've used:
> http://home.in.tum.de/vidalrod/downloads/freebsd-upgrade
> I ask because I've found nowhere in the sources, which I have downloaded
> today Monday, any evidence that this _really_ is a 4.6-{RELEASE,STABLE},
> and upgrading to the same version (or even less) isn't that fun :)

I think you're mixing up cvsupping ports sources and base system source,
which doesn't have any packages (third-party software).  The tag
tag=RELENG_4
will get you the very latest along the 4 branch, which as 4.5 morphs to
4.6, will be called 4.6-RC or perhaps 4.6-RC2 or whatever.  I think the
number of the "release candidate" is left out, however.  When 4.6 is
released, it will become 4.6-RELEASE, and when the next commit is made
to the source tree (this may have already happened), it will say 4.6-STABLE.

This is for the collection src-all

See the supfiles in /usr/share/examples/cvsup; you want one like
stable-supfile.  ports-supfile has tag=.  (tag equals dot)  The "dot"
stands for the most recent, and there is only one ports "branch", or
more correctly, ports are not branched.

There will be a pop quiz in 24 hours...

Oh BTW, the file that determines what the kernel reports as the
version of FreeBSD installed is /usr/src/sys/conf/newvers.sh

        Annelise

--
Annelise Anderson
Author of:               FreeBSD: An Open-Source Operating System for Your PC
Available from:  BSDmall.com and amazon.com
Book Website:    http://www.bittreepress.com/FreeBSD/introbook/      

 
 
 

Questions concerning the FreeBSD source tree

Post by David Vidal Rodrígue » Wed, 12 Jun 2002 22:44:44


  > Oh BTW, the file that determines what the kernel reports as the

Quote:> version of FreeBSD installed is /usr/src/sys/conf/newvers.sh

 From the file you mentioned:

TYPE="FreeBSD"
REVISION="4.6"
BRANCH="RC"

That isn't the final 4.6 source, is it?

Regards!
David.

 
 
 

Questions concerning the FreeBSD source tree

Post by David Vidal Rodrígue » Thu, 13 Jun 2002 04:00:36


Hehe, no problem. I just changed RELENG_4 to RELENG_4_6_0_RELEASE and
installed the world. Now my FreeBSD says:
FreeBSD vidal.spk 4.6-RELEASE FreeBSD 4.6-RELEASE #10: Tue Jun 11

:)

Regards,
David.

 
 
 

Questions concerning the FreeBSD source tree

Post by annel.. » Thu, 13 Jun 2002 08:47:23



> Hehe, no problem. I just changed RELENG_4 to RELENG_4_6_0_RELEASE and
> installed the world. Now my FreeBSD says:
> FreeBSD vidal.spk 4.6-RELEASE FreeBSD 4.6-RELEASE #10: Tue Jun 11

> :)
> Regards,
> David.

"A rose by any other name ... "

--
Annelise Anderson
Author of:               FreeBSD: An Open-Source Operating System for Your PC
Available from:  BSDmall.com and amazon.com
Book Website:    http://www.bittreepress.com/FreeBSD/introbook/