Date: Tue, 6 Nov 2018 18:08:18 +0100 From: Julien Cigar <julien@perdition.city> To: Aram =?utf-8?B?SMSDdsSDcm5lYW51?= <aram.h@mgk.ro> Cc: freebsd-questions@freebsd.org Subject: Re: freebsd-update(8) and custom kernels Message-ID: <20181106170818.GD88460@mordor.lan> In-Reply-To: <CAEAzY3_BzOH25aoTpTWTREbhJD0V0o8RKCV6A4sVnXtCpRjE3g@mail.gmail.com> References: <CAEAzY3_BzOH25aoTpTWTREbhJD0V0o8RKCV6A4sVnXtCpRjE3g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181106170818.GD88460>