From owner-freebsd-questions@freebsd.org Tue Nov 6 16:24:56 2018 Return-Path: Delivered-To: freebsd-questions@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 17ACE1128F1B for ; Tue, 6 Nov 2018 16:24:56 +0000 (UTC) (envelope-from julien@perdition.city) Received: from relay-b01.edpnet.be (relay-b01.edpnet.be [212.71.1.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "edpnet.email", Issuer "Go Daddy Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9CDC57E55F for ; Tue, 6 Nov 2018 16:24:54 +0000 (UTC) (envelope-from julien@perdition.city) X-ASG-Debug-ID: 1541521482-0a7ff512e23029c80001-jLrpzn Received: from mordor.lan (213.219.147.224.adsl.dyn.edpnet.net [213.219.147.224]) by relay-b01.edpnet.be with ESMTP id sLAkGkxpcoLVd05w (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 06 Nov 2018 17:24:43 +0100 (CET) X-Barracuda-Envelope-From: julien@perdition.city X-Barracuda-Effective-Source-IP: 213.219.147.224.adsl.dyn.edpnet.net[213.219.147.224] X-Barracuda-Apparent-Source-IP: 213.219.147.224 Date: Tue, 6 Nov 2018 18:08:18 +0100 From: Julien Cigar To: Aram =?utf-8?B?SMSDdsSDcm5lYW51?= Cc: freebsd-questions@freebsd.org Subject: Re: freebsd-update(8) and custom kernels Message-ID: <20181106170818.GD88460@mordor.lan> X-ASG-Orig-Subj: Re: freebsd-update(8) and custom kernels References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="osDK9TLjxFScVI/L" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) X-Barracuda-Connect: 213.219.147.224.adsl.dyn.edpnet.net[213.219.147.224] X-Barracuda-Start-Time: 1541521482 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://212.71.1.221:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at edpnet.be X-Barracuda-Scan-Msg-Size: 1949 X-Barracuda-BRTS-Status: 1 X-Barracuda-Bayes: INNOCENT GLOBAL 0.5522 1.0000 0.7500 X-Barracuda-Spam-Score: 0.75 X-Barracuda-Spam-Status: No, SCORE=0.75 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=7.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.61314 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Rspamd-Queue-Id: 9CDC57E55F X-Spamd-Result: default: False [-0.49 / 200.00]; ARC_NA(0.00)[]; R_SPF_FAIL(1.00)[-all]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.63)[-0.633,0]; NEURAL_HAM_LONG(-0.51)[-0.512,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[perdition.city]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[smtp.bebif.be]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.02)[-0.023,0]; SIGNED_PGP(-2.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[221.1.71.212.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; RBL_SENDERSCORE(2.00)[221.1.71.212.bl.score.senderscore.com]; ASN(0.00)[asn:9031, ipnet:212.71.0.0/19, country:BE]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-0.01)[country: BE(-0.05)]; RECEIVED_SPAMHAUS_PBL(0.00)[224.147.219.213.zen.spamhaus.org : 127.0.0.11] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Nov 2018 16:24:56 -0000 --osDK9TLjxFScVI/L Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 06, 2018 at 05:01:54PM +0100, Aram H=C4=83v=C4=83rneanu wrote: > Hello, >=20 > The FreeBSD handbook claims that freebsd-update(8) will leave custom > kernels alone, and that if using a custom kernel it will update > /boot/GENERIC to the release kernel if it exists. It also hints > that it uses this /boot/GENERIC for upgrades between releases, > allowing you to install your custom kernel post-upgrade after you > will have rebuilt it. >=20 > This is not what's happening at all, instead freebsd-update(8) is > trashing custom kernels without warning. There have been several > threads about this on the mailing list. The only conclusion I have > been able to draw from them is that the handbook is out of date. > Apparently the current, undocumented behavior dates back at least > six years. >=20 > So, is it possible to track -RELEASE using freebsd-update(8) and > still use custom kernels? Of course I can remove "kernel" from > "Components" in freebsd-update.conf and then freebsd-update(8) won't > overwrite my kernel, but I would imagine I won't be able to upgrade > between releases that way, since freebsd-update(8) will not provide > an intermediary newer n+1 GENERIC kernel to boot the new n+1 release. >=20 > What's the solution here? Is there one? I usually use: $> freebsd-update fetch $> freebsd-update install $> make kernel KERNCONF=3DMYKERNEL $> reboot >=20 > Thanks, >=20 > --=20 > Aram H=C4=83v=C4=83rneanu > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" --=20 Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --osDK9TLjxFScVI/L Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE7vn2l0to0nV7EWolsrs3EKIEI8AFAlvhyn8ACgkQsrs3EKIE I8CbuQ/6A6kdViy/UitqiraeNB+micISlcAqpEIXbw2gqvW0xFxc0xs6D4RO5a7R 4B2cMD4b7BdJeMifmFv6NABLas6ot9vVGXguEOBGdXF4xeXWLQUK5JpEmWTGQQ0T ELUeOE9lcEQw5grP4KvqaOUHHI8vLEA7kjwUSBkYzgdbNgLBz/jCDPuNYsUqDVBD 1pAa01HRlgx+SZ3wZ0vNSqeyKOIswh++ygDUteV9RUmAskqe3vT0t15IDGl3AxpW ZyKN5HZRF9hMPoukIj1g5gwK2I53M5HQHmXGsGG2j2xCZvK6ygt3OsLjgFO3IQ5m wavbAgOV0qvXAJrkQK0L3YGf8vMVJKxmhfGHdx7ie8VwH5nL36J7bKpLAO8JpOJ+ JxoY4zdg+FkWj6eOiwMyk4i+SqEzTY/kBOl9SnLFfUCltSyxsdNR3Wbbk34lXBlN AFDAcr455ijzIzHI6KbF4hXDZ+wmOE+pga3/gCQryTx7zp6Xq0UHKdY7lKPj5mxc 5XDisyLL3AAuDvp4BRjPLZX/IF3RL7LY8ftuFFo+Gn0h8pWyUzVWhwXsGg5f2BVS zS08L3LphDRI11YRCMLJGWM2ehlyD6g+EC3x/6oQV4VZnqhoXRVX++Z/ivVFUQyl jcoraCQiP1j3UJtpcKhEAFkqfjHN4SpLpQKNjAWMOADzsN+iByc= =wgJm -----END PGP SIGNATURE----- --osDK9TLjxFScVI/L--