freebsd-update and a custom kernel
Victor Sudakov
vas at mpeks.tomsk.su
Sat Nov 8 11:08:27 UTC 2014
Polytropon wrote:
> >
> > Is it normal that freebsd-update is going to update my custom kernel?
> > Should it not leave it alone?
> >
> > The following files will be updated as part of updating to 9.3-RELEASE-p5:
> > /boot/kernel/kernel
> > /boot/kernel/zfs.ko
> > /usr/bin/ftp
> > /usr/bin/gate-ftp
> > /usr/bin/pftp
> > [root at admin ~] uname -a
> > FreeBSD admin.sibptus.tomsk.ru 9.3-RELEASE-p4 FreeBSD 9.3-RELEASE-p4 #0 r273644: Sun Oct 26 11:37:20 NOVT 2014 root at admin.sibptus.tomsk.ru:/d01/build/obj/d01/build/9.3/sys/ADMIN i386
> > [root at admin ~]
>
> This depends on your settings in /etc/freebsd-update.conf:
> If the component "kernel" is enabled, the updated GENERIC
> kernel will be installed. To avoid this, remove the com-
> ponent "kernel" from the list.
I was under the impression that freebsd-update did not touch locally
modified files regardless of the freebsd-update.conf settings. All
right, I was wrong.
> Keep in mind that you _might_
> have to rebuild your custom kernel, so it's useful to have
> the component "src" enabled, which will provide the source
> version that corresponds to the updated binary installation.
I generally don't need this. I build all custom kernels on a build box
and then rsync them away.
>
> --
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
Oh, I am a user since 1.1.5.1 (about 1995) and an admin since
2.0.something :-)
--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
sip:sudakov at sibptus.tomsk.ru
More information about the freebsd-questions
mailing list