Date: Tue, 28 Aug 2012 13:48:24 -0700 From: David Wolfskill <david@catwhisker.org> To: Jamie Paul Griffin <jamie@kode5.net> Cc: freebsd-stable@freebsd.org Subject: Re: Question About Tracking the Stable Branch Message-ID: <20120828204824.GM10869@albert.catwhisker.org> In-Reply-To: <20120828203130.GB78051@kontrol.kode5.net> References: <20120828203130.GB78051@kontrol.kode5.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Tue, Aug 28, 2012 at 09:31:30PM +0100, Jamie Paul Griffin wrote:
> Hi
>
> I am following 9 Stable. I have read the handbook information and I am now subscribed to this list and the svn-src-stable-9@ list.
>
> Even after reading the handbook, what i'm not clear about is this:
>
> I see individual commits being submitted to the source tree; do I:
>
> - patch and update each individual commit, or;
>
> - rebuild world say once every couple of days or even each day to incorporate the changes, and;
>
> - does the kernel need to be rebuilt and reinstalled each time if using the first option. Obviously I would have to if rebuilding world (the second option).
> ...
Errmmm... Well, here's what I do (briefly):
* I maintain /usr/src as an SVN "working copy" -- that is, I created it
by (the logical equivalent of):
* # cd /usr && rm -fr src && mkdir src && chown david src
* $ cd /usr/src && svn co ${repo}/stable/9 .
(where "$repo" is a URL for the SVN repo used).
Periodically (daily, in my case), after the repo that I use has been
updated, I issue:
* $ svn update /usr/src
and if there were updates, I rebuild.
If the only updates are to the kernel sources, I often only rebuild the
kernel. If any updates were not for the kernel, I rebuild both userland
and kernel.
See /usr/src/UPDATING; look for the string "COMMON ITEMS" (about 87% of
the way into the file). I use the "To rebuild everything and install it
on the current system." with the variation that I usually specify
-DNOCLEAN, and I haven't actually needed to perform the "<reboot in
single user>" step in longer than I can remember.
I do all builds within a script(1) invocation (so I have a record), and
usually within screen(1), as well (just in case Something Weird
happens). I also usually specify a -j value, in order to take advantage
of multiple cores.
I hope that helps a bit.
Peace,
david
--
David H. Wolfskill david@catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.
See http://www.catwhisker.org/~david/publickey.gpg for my public key.
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
iEYEARECAAYFAlA9LpcACgkQmprOCmdXAD1zygCfVmJPq6UXgYPs/MmKTOAg1PZ0
6pgAn09r55C5oO9dHCKQlTr1CtJtoz4B
=r6qd
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120828204824.GM10869>
