From owner-cvs-src@FreeBSD.ORG Thu May 26 18:08:05 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49C1816A41C; Thu, 26 May 2005 18:08:05 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 839CF43D48; Thu, 26 May 2005 18:08:03 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j4QI81LF021017; Thu, 26 May 2005 21:08:01 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 64992-20; Thu, 26 May 2005 21:08:00 +0300 (EEST) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j4QI7x1N021010 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 26 May 2005 21:07:59 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.3/8.13.3) id j4QI8LYZ059516; Thu, 26 May 2005 21:08:21 +0300 (EEST) (envelope-from ru) Date: Thu, 26 May 2005 21:08:21 +0300 From: Ruslan Ermilov To: Alexander Leidinger Message-ID: <20050526180821.GB59403@ip.net.ua> References: <200505252103.j4PL3D01019450@repoman.freebsd.org> <20050526083101.GJ850@obiwan.tataz.chchile.org> <20050526111349.1a6ff9c0@Magellan.Leidinger.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uZ3hkaAS1mZxFaxD" Content-Disposition: inline In-Reply-To: <20050526111349.1a6ff9c0@Magellan.Leidinger.net> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Jeremie Le Hen , cvs-all@FreeBSD.org Subject: Re: cvs commit: src UPDATING X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2005 18:08:05 -0000 --uZ3hkaAS1mZxFaxD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 26, 2005 at 11:13:49AM +0200, Alexander Leidinger wrote: > On Thu, 26 May 2005 10:31:03 +0200 > Jeremie Le Hen wrote: >=20 > > > + make installkernel KERNCONF=3DYOUR_KERNEL_HERE KODIR=3D/boot/= testkernel > > > + nextboot -k testkernel > >=20 > > wouldn't it be more intuitive to use KERNEL=3Dtestkernel instead of > > KODIR=3D/boot/testkernel, in regards to the nextboot(8) syntax, which > > does not explicitely specify the /boot directory. >=20 > I've a lot of experience with KODIR, but no experience with KERNEL. I > was told it does what I want to do too, but I also was told that it is > used in previous major versions of FreeBSD in a different way. >=20 > Yes, this is committed to current, not to an older version of FreeBSD. > But FreeBSD 4 also has nextboot (even when it has a different syntax), > and having users which tell other users out-of-context to use KERNEL=3Dxxx > and nextboot may result in frustated users. >=20 > Those are my quick thoughts about this. I don't mind if someone else > thinks we should use KERNEL instead and goes ahead and changes the > description. >=20 Using KERNEL is valid from within kernel object directory but not from Makefile.inc1: =2Eif defined(KERNWARN) @echo "------------------------------------------------------------= --" @echo ">>> WARNING: KERNEL=3D setting should be changed to KERNCONF= =3D" @echo "------------------------------------------------------------= --" @sleep 3 =2Eendif =2E.. because it used to mean a completely different thing, as you have noticed. Instead, an official way to install a kernel in a different /boot subdirectory is to: make installkernel ... INSTKERNNAME=3Dtestkernel =2E.. which will set KODIR to /boot/testkernel. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --uZ3hkaAS1mZxFaxD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFClhCVqRfpzJluFF4RAkjYAJ9Sjlbmm1opJzRZSi/F4m6PX5B2WgCfeBN8 bFVlmU44tfTZAAgwd4Ayrnk= =TRtu -----END PGP SIGNATURE----- --uZ3hkaAS1mZxFaxD--