Date: Fri, 25 Jan 2019 12:49:28 +0200 From: Esa Karkkainen <freebsd.lists@zxas.fi> To: "O'Connor, Daniel" <darius@dons.net.au> Cc: freebsd-stable <freebsd-stable@freebsd.org> Subject: Re: FreeBSD update & custom kernel Message-ID: <20190125104928.GD63197@pp.htv.fi> In-Reply-To: <A9F09319-C30A-47CE-9967-21A8871647AF@dons.net.au> References: <A9F09319-C30A-47CE-9967-21A8871647AF@dons.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190125104928.GD63197>