Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jan 2019 17:19:14 +1030
From:      "O'Connor, Daniel" <darius@dons.net.au>
To:        Esa Karkkainen <freebsd.lists@zxas.fi>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: FreeBSD update & custom kernel
Message-ID:  <AF7892E8-6CDB-4713-ACF6-28299F71C91B@dons.net.au>
In-Reply-To: <20190125104928.GD63197@pp.htv.fi>
References:  <A9F09319-C30A-47CE-9967-21A8871647AF@dons.net.au> <20190125104928.GD63197@pp.htv.fi>

next in thread | previous in thread | raw e-mail | index | archive | help


> On 25 Jan 2019, at 21:19, Esa Karkkainen <freebsd.lists@zxas.fi> wrote:
> 
> On Fri, Jan 25, 2019 at 05:03:32PM +1030, O'Connor, Daniel wrote:
>> Hi everyone,
> 
> Hi Daniel,
> 
>> Is it feasible for freebsd-update to update the source before the
>> first reboot so a custom kernel can be built?
> 
> It's a hack, but sorta kinda yes.
> 
> Use freebsd-update to update only the source, and follow the
> instructions here:
> https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html 
> Which suggests to use svc to update sources instead of freebsd-update.

Yes, I would have thought it's probably more efficient to use svn!

> Or you can use two separate freebsd-update config files, modified
> one modified to exclude i.e remove "src" from "Components" line, and new
> copied from the default which excudes everything exept the souces i.e.
> "Components src".
> 
> Update only the source, build world and kernel(s), install the locally
> built kernel and the the normal freebsd-update.

OK, interesting idea - I'll try it next time and see how I go.

Thanks!

--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
 -- Andrew Tanenbaum





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AF7892E8-6CDB-4713-ACF6-28299F71C91B>