From owner-freebsd-questions@FreeBSD.ORG Tue Sep 16 18:01:26 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CEB69106566C for ; Tue, 16 Sep 2008 18:01:26 +0000 (UTC) (envelope-from danielby@slightlystrange.org) Received: from mtaout03-winn.ispmail.ntl.com (mtaout03-winn.ispmail.ntl.com [81.103.221.49]) by mx1.freebsd.org (Postfix) with ESMTP id 348788FC13 for ; Tue, 16 Sep 2008 18:01:21 +0000 (UTC) (envelope-from danielby@slightlystrange.org) Received: from aamtaout02-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout03-winn.ispmail.ntl.com with ESMTP id <20080916180120.CCFF10791.mtaout03-winn.ispmail.ntl.com@aamtaout02-winn.ispmail.ntl.com> for ; Tue, 16 Sep 2008 19:01:20 +0100 Received: from catflap.slightlystrange.org ([82.21.101.171]) by aamtaout02-winn.ispmail.ntl.com with ESMTP id <20080916180120.UAMJ19289.aamtaout02-winn.ispmail.ntl.com@catflap.slightlystrange.org> for ; Tue, 16 Sep 2008 19:01:20 +0100 Received: by catflap.slightlystrange.org (Postfix, from userid 106) id CA7C36473; Tue, 16 Sep 2008 19:01:17 +0100 (BST) Received: from torus.slightlystrange.org (torus.slightlystrange.org [10.1.3.50]) by catflap.slightlystrange.org (Postfix) with SMTP id 1425B613B for ; Tue, 16 Sep 2008 19:01:16 +0100 (BST) Received: by torus.slightlystrange.org (sSMTP sendmail emulation); Tue, 16 Sep 2008 19:01:16 +0100 From: "Daniel Bye" Date: Tue, 16 Sep 2008 19:01:16 +0100 To: freebsd-questions@freebsd.org Message-ID: <20080916180104.GA60150@torus.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+HP7ph2BbKc20aGI" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 7.1-PRERELEASE i386 X-Cloudmark-Analysis: v=1.0 c=1 a=ehNlctqhnw0A:10 a=6I8qIw6ZTOuh9OIya7wA:9 a=-dn7INZn8YtzhQith7YA:7 a=Wc3v66Bw7KsBlnw6X9txqsIvA6gA:4 a=LY0hPdMaydYA:10 a=BkHaM4iEHYWAr-r7cKAA:9 a=KYtJ1F-v_EJNhQuDg0ng50WpxvkA:4 a=rPt6xJ-oxjAA:10 Subject: Re: kernel compile e branches X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2008 18:01:26 -0000 --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 16, 2008 at 02:40:51PM +0200, Gian Paolo Buono wrote: > Hi, > I have upgrade my distro and kernel..with following steps: >=20 > 1) cd /usr/src ; make update > 2) edit /usr/src/sys/i386/conf/GENERIC file for the kernel I usually copy the GENERIC config and edit the copy. That way, I always have a GENERIC config to refer/revert to, should the need arise. > 3) make buildkernel KERNCONF=3DGENERIC > 4) make installkernel KERNCONF=3DGENERIC You don't need to specify KERNCONF if you are using GENERIC. If you make a copy and build from it, you can set KERNCONF in /etc/make.conf > 5) shutdown -r now > 6) mergemaster -p > 7) make installworld > 8) mergemaster -cvsi > 9) shutdown -r now >=20 > now my kernel is FreeBSD 7.1-PRERELEASE. > For server in produciton which is the branches reccomended ? RELEASE ... > STABLE ... For production use, go with RELEASE. It is very stable, with the only chang= es being seciruty or other critical updates. STABLE, on the other hand, is a somewhat more conservative development branch than CURRENT, so is prone to change more than you might expect from day to day. However, it is very rare that anything is actually broken. > And where set the branche to use ? This is determined by settings in your csup config file. This could be in /usr/share/examples/cvsup/standard-supfile, but I make a copy and put it in /etc/csup.system. Then set these variables in /etc/make.conf: SUP_UPDATE=3D YES SUPFILE=3D /etc/csup.system SUPHOST=3D cvsup..freebsd.org # Pick a cvsup host near to you SUP=3D /usr/bin/csup (These allow you to cd /usr/src && make update) Now check /etc/csup.system. Look for RELENG_7: *default tag=3DRELENG_7 # This will get you STABLE. The tag won't change= =20 # during the lifetime of the 7 branch. or *default tag=3DRELENG_7_0 # This is for 7.0 RELEASE. When 7.1 RELEASE is # announced, change it to RELENG_7_1 to keep up. HTH Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --+HP7ph2BbKc20aGI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjP9GAACgkQixf5fBYiFmpT1ACdHjLuVsCwxg4XqAdP2H/TmD6b dLoAn3LPW6PKkmo0s6K6+gLWY9dZJEMt =+yOQ -----END PGP SIGNATURE----- --+HP7ph2BbKc20aGI--