Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Nov 2014 17:08:19 +0600
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        Polytropon <freebsd@edvax.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: freebsd-update and a custom kernel
Message-ID:  <20141108110819.GA53344@admin.sibptus.tomsk.ru>
In-Reply-To: <20141108105341.106436d5.freebsd@edvax.de>
References:  <20141108060317.GA45394@admin.sibptus.tomsk.ru> <20141108105341.106436d5.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@admin.sibptus.tomsk.ru:/d01/build/obj/d01/build/9.3/sys/ADMIN  i386
> > [root@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@sibptus.tomsk.ru



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