Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2012 14:27:55 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Denis <piloyder@gmail.com>
Cc:        questions@freebsd.org, Alexandre <axelbsd@ymail.com>
Subject:   Re: freebsd-update fetch trying to update custom kernel
Message-ID:  <20120820142755.573029da.freebsd@edvax.de>
In-Reply-To: <CAJKy0h5iQtfU4t0nmm9mPTdVN60Ea62XVMa9Q11_tWzP2C_fBA@mail.gmail.com>
References:  <CAJKy0h52hQV61cVk%2B1WwxCZDzMWKPf36r043dKQLP9m4RBij5Q@mail.gmail.com> <CA%2B8gk9_k%2BY2Khha80h96jCP1T3Ymhgz78MQ4manYd5FD8avfNA@mail.gmail.com> <CAJKy0h5iQtfU4t0nmm9mPTdVN60Ea62XVMa9Q11_tWzP2C_fBA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120820142755.573029da.freebsd>