From owner-freebsd-stable@freebsd.org Fri Jan 25 10:49:49 2019 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B6BF914B0864 for ; Fri, 25 Jan 2019 10:49:49 +0000 (UTC) (envelope-from a199e59c87e914e7b5fdb9459865d66e@zxas.fi) Received: from box.zxas.fi (box.zxas.fi [IPv6:2a05:b9c0::1:0:a4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CAAE874CD5 for ; Fri, 25 Jan 2019 10:49:47 +0000 (UTC) (envelope-from a199e59c87e914e7b5fdb9459865d66e@zxas.fi) Received: from authenticated-user (box.zxas.fi [185.87.111.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by box.zxas.fi (Postfix) with ESMTPSA id 8F9668202A; Fri, 25 Jan 2019 12:49:32 +0200 (EET) Received: from authenticated-user (box.zxas.fi [185.87.111.174]) by zero.my.domain (Postfix) with ESMTP id 273C933C39; Fri, 25 Jan 2019 12:49:29 +0200 (EET) Received: from authenticated-user (box.zxas.fi [185.87.111.174]) by thunderbolt.my.domain (8.15.2/8.15.2) with ESMTPS id x0PAnSlc084969 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 25 Jan 2019 12:49:28 +0200 (EET) (envelope-from ejk@thunderbolt.my.domain) Received: from authenticated-user (box.zxas.fi [185.87.111.174]) by thunderbolt.my.domain (8.15.2/8.15.2/Submit) id x0PAnSg7084968; Fri, 25 Jan 2019 12:49:28 +0200 (EET) (envelope-from ejk) Date: Fri, 25 Jan 2019 12:49:28 +0200 From: Esa Karkkainen To: "O'Connor, Daniel" Cc: freebsd-stable Subject: Re: FreeBSD update & custom kernel Message-ID: <20190125104928.GD63197@pp.htv.fi> Mail-Followup-To: Esa Karkkainen , "O'Connor, Daniel" , freebsd-stable References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: CAAE874CD5 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.31 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[zxas.fi:~]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[zxas.fi,quarantine]; MX_GOOD(-0.01)[box.zxas.fi]; FORGED_SENDER(0.30)[freebsd.lists@zxas.fi,a199e59c87e914e7b5fdb9459865d66e@zxas.fi]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:201057, ipnet:2a05:b9c0::/29, country:FI]; FROM_NEQ_ENVFROM(0.00)[freebsd.lists@zxas.fi,a199e59c87e914e7b5fdb9459865d66e@zxas.fi]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.995,0]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_SHORT(-0.78)[-0.782,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-0.02)[country: FI(-0.09)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_DKIM_PERMFAIL(0.00)[zxas.fi:s=mail] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2019 10:49:50 -0000 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