Date: Thu, 26 May 2005 21:08:21 +0300 From: Ruslan Ermilov <ru@FreeBSD.org> To: Alexander Leidinger <Alexander@Leidinger.net> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Jeremie Le Hen <jeremie@le-hen.org>, cvs-all@FreeBSD.org Subject: Re: cvs commit: src UPDATING Message-ID: <20050526180821.GB59403@ip.net.ua> In-Reply-To: <20050526111349.1a6ff9c0@Magellan.Leidinger.net> References: <200505252103.j4PL3D01019450@repoman.freebsd.org> <20050526083101.GJ850@obiwan.tataz.chchile.org> <20050526111349.1a6ff9c0@Magellan.Leidinger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <jeremie@le-hen.org> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050526180821.GB59403>