Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2018 11:40:22 -0600
From:      Ian Lepore <ian@freebsd.org>
To:        John Baldwin <jhb@freebsd.org>, Alexey Dokuchaev <danfe@freebsd.org>
Cc:        Warner Losh <imp@bsdimp.com>, Kyle Evans <kevans@freebsd.org>, svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers <src-committers@freebsd.org>
Subject:   Re: svn commit: r331209 - head
Message-ID:  <1522172422.49673.38.camel@freebsd.org>
In-Reply-To: <11592636.Xep9SDNT9W@ralph.baldwin.cx>
References:  <201803191527.w2JFRr7B058668@repo.freebsd.org> <3226647.aiAOVF4eaK@ralph.baldwin.cx> <20180327051912.GA5729@FreeBSD.org> <11592636.Xep9SDNT9W@ralph.baldwin.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2018-03-27 at 09:48 -0700, John Baldwin wrote:
> On Tuesday, March 27, 2018 05:19:12 AM Alexey Dokuchaev wrote:
> > 
> > On Thu, Mar 22, 2018 at 08:52:47AM -0700, John Baldwin wrote:
> > > 
> > > On Thursday, March 22, 2018 04:39:38 AM Alexey Dokuchaev wrote:
> > > > 
> > > > > 
> > > > > ...
> > > > Right, but John had mentioned extra reboot *between* installkernel and
> > > > installworld, which I've never heard of before.
> > > From the end up of src/UPDATING:
> > > 
> > >         
> > >         make buildworld
> > >         make kernel KERNCONF=YOUR_KERNEL_HERE
> > >         
> > If by "reboot" in your original message you meant "drop to single user"
> > then there's no confusion.  It's just that in my understanding "reboot"
> > means, well, reboot.
> No, I meant reboot and it clearly says here "reboot".  Note that
> 'make kernel' does 'make buildkernel' and 'make installkernel', so
> the reboot quoted above is after installkernel but before installworld.
> Perhaps 'make kernel' should be expanded into separate lines for
> 'buildkernel' and 'installkernel' if that is confusing.
> 

I've been working with freebsd since 1996, and had no idea there was a
kernel target that does build+install.  I think even showing it as

  make buildkernel installkernel KERNCONF=YOUR_KERNEL_HERE

would be more clear.

-- Ian




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1522172422.49673.38.camel>