svn checkout "head" or "stable"

Trond Endrestøl Trond.Endrestol at fagskolen.gjovik.no
Thu Sep 27 22:19:54 UTC 2012


On Thu, 27 Sep 2012 15:03-0700, Ed Flecko wrote:

> My goal is to simply have a production server that's fully patched,
> but I will be running custom kernels (which is why I'm not using
> freebsd-update). I've seen a lot of subversion references to checking
> out the "head" branch and the "stable" branch.
> 
> I understand the "head" branch is the most current, so that's the same
> as the "current" branch, right?
> 
> If I understand correctly, "most" people will not follow the "current"
> branch for production servers.
> 
> My goal is to have all of the files I need to rebuild my kernel and my
> system after security updates have been released, therefore I should
> do something like:
> 
> svn co svn://svn.freebsd.org/base/stable/9 /usr/src
> 
> svn co svn://svn.freebsd.org/ports/stable/9 /usr/ports

The ports tree resides in ports/head no matter what branch from the 
main source tree you check out, i.e.:

svn co svn://svn.freebsd.org/ports/head /usr/ports

> svn co svn://svn.freebsd.org/doc/stable/9 /usr/doc
> 
> This will give me everything I need to recompile and have a fully
> patched system, right?
> 
> I do not make changes to the src, ports, or doc directories. From that
> point forward, as new security patches are released, I can simply:
> 
> svn up /usr/src
> 
> svn up /usr/ports
> 
> svn up /usr/doc
> 
> and once again rebuild my kernel and system.
> 
> Does this sound correct?

Yes.

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+


More information about the freebsd-questions mailing list