freebsd-update fetch trying to update custom kernel

Polytropon freebsd at edvax.de
Mon Aug 20 12:27:57 UTC 2012


On Mon, 20 Aug 2012 14:37:40 +0400, Denis wrote:
> Hi Alexandre,
> 
> > Have you rebuilt your custom kernel after ?
> > This is described in the Handbook in the section 25.2.2
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html
> 
> Yes, I rebuilt my custom kernel after. But this doesn't help - every
> time I run "freebsd-update fetch" it suugest me to update kernel and
> kernel.symbols.

Then why not follow my suggestion of _letting_ freebsd-update
update the kernel, but _use_ a different one instead which it
won't touch? In /boot/loader.conf:

	kernel="mykernel"
	bootfile="/boot/mykernel/kernel"

Now freebsd-update can happily alter the default kernel without
affecting yours. Note that this implies that _you_ have to take
care of kernel changes and recompiling if needed.

I know, it's just a workaround and doesn't address the problem
directly, but it should get you away from any related trouble.

-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list