FreeBSD update & custom kernel

O'Connor, Daniel darius at dons.net.au
Sat Jan 26 07:06:10 UTC 2019



> On 25 Jan 2019, at 21:19, Esa Karkkainen <freebsd.lists at 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




More information about the freebsd-stable mailing list