From owner-freebsd-stable@freebsd.org Sat Jan 26 07:06:10 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 7334B14B5317 for ; Sat, 26 Jan 2019 07:06:10 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from ipmail02.adl2.internode.on.net (ipmail02.adl2.internode.on.net [150.101.137.139]) by mx1.freebsd.org (Postfix) with ESMTP id 53E426B6D2 for ; Sat, 26 Jan 2019 07:06:06 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from ppp118-210-249-99.bras1.adl4.internode.on.net (HELO midget.dons.net.au) ([118.210.249.99]) by ipmail02.adl2.internode.on.net with ESMTP; 26 Jan 2019 17:30:54 +1030 Received: from midget.dons.net.au (localhost [127.0.0.1]) by midget.dons.net.au (8.15.2/8.15.2) with ESMTPS id x0Q70lqX080282 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sat, 26 Jan 2019 17:30:47 +1030 (ACDT) (envelope-from darius@dons.net.au) Received: (from mailnull@localhost) by midget.dons.net.au (8.15.2/8.15.2/Submit) id x0Q6nKPZ069994 for ; Sat, 26 Jan 2019 17:19:20 +1030 (ACDT) (envelope-from darius@dons.net.au) X-Authentication-Warning: midget.dons.net.au: mailnull set sender to using -f Received: from [10.0.2.26] ([10.0.2.26]) by ns.dons.net.au (envelope-sender ) (MIMEDefang) with ESMTP id x0Q6nEwE069992; Sat, 26 Jan 2019 17:19:20 +1030 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: FreeBSD update & custom kernel From: "O'Connor, Daniel" In-Reply-To: <20190125104928.GD63197@pp.htv.fi> Date: Sat, 26 Jan 2019 17:19:14 +1030 Cc: freebsd-stable Content-Transfer-Encoding: 7bit Message-Id: References: <20190125104928.GD63197@pp.htv.fi> To: Esa Karkkainen X-Mailer: Apple Mail (2.3445.102.3) X-Spam-Score: -1 () No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.1 X-Scanned-By: MIMEDefang 2.83 on 10.0.2.1 X-Rspamd-Queue-Id: 53E426B6D2 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [4.32 / 15.00]; MV_CASE(0.50)[]; HAS_XAW(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: midget.dons.net.au]; RCPT_COUNT_TWO(0.00)[2]; RCVD_NO_TLS_LAST(0.10)[]; RECEIVED_SPAMHAUS_PBL(0.00)[99.249.210.118.zen.spamhaus.org : 127.0.0.11]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.42)[ipnet: 150.101.0.0/16(1.69), asn: 4739(0.43), country: AU(-0.04)]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:4739, ipnet:150.101.0.0/16, country:AU]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[139.137.101.150.list.dnswl.org : 127.0.5.1]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.75)[0.749,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.79)[0.793,0]; DMARC_NA(0.00)[dons.net.au]; R_DKIM_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.97)[0.974,0]; R_SPF_NA(0.00)[] 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: Sat, 26 Jan 2019 07:06:10 -0000 > On 25 Jan 2019, at 21:19, Esa Karkkainen 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