From owner-freebsd-stable@FreeBSD.ORG Tue Aug 28 20:48:31 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29DE2106568C for ; Tue, 28 Aug 2012 20:48:31 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (m209-73.dsl.rawbw.com [198.144.209.73]) by mx1.freebsd.org (Postfix) with ESMTP id D8A878FC12 for ; Tue, 28 Aug 2012 20:48:30 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.5/8.14.5) with ESMTP id q7SKmOYR037649; Tue, 28 Aug 2012 13:48:24 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.5/8.14.5/Submit) id q7SKmOvX037648; Tue, 28 Aug 2012 13:48:24 -0700 (PDT) (envelope-from david) Date: Tue, 28 Aug 2012 13:48:24 -0700 From: David Wolfskill To: Jamie Paul Griffin Message-ID: <20120828204824.GM10869@albert.catwhisker.org> References: <20120828203130.GB78051@kontrol.kode5.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EEx6GiKZGZ1wKUra" Content-Disposition: inline In-Reply-To: <20120828203130.GB78051@kontrol.kode5.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org Subject: Re: Question About Tracking the Stable Branch X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Aug 2012 20:48:31 -0000 --EEx6GiKZGZ1wKUra Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 28, 2012 at 09:31:30PM +0100, Jamie Paul Griffin wrote: > Hi >=20 > I am following 9 Stable. I have read the handbook information and I am no= w subscribed to this list and the svn-src-stable-9@ list. >=20 > Even after reading the handbook, what i'm not clear about is this: >=20 > I see individual commits being submitted to the source tree; do I: >=20 > - patch and update each individual commit, or; >=20 > - rebuild world say once every couple of days or even each day to incorp= orate the changes, and; >=20 > - 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 "" 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 --=20 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. --EEx6GiKZGZ1wKUra Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlA9LpcACgkQmprOCmdXAD1zygCfVmJPq6UXgYPs/MmKTOAg1PZ0 6pgAn09r55C5oO9dHCKQlTr1CtJtoz4B =r6qd -----END PGP SIGNATURE----- --EEx6GiKZGZ1wKUra--