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.
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.
Regards,
Esa
--
"In the beginning the Universe was created. This has made a lot of
people very angry and been widely regarded as a bad move."
-- Douglas Adams 1952 - 2001