From owner-freebsd-questions@FreeBSD.ORG Sat Nov 8 09:53:51 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5ADD7FE1 for ; Sat, 8 Nov 2014 09:53:51 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1EBA9B67 for ; Sat, 8 Nov 2014 09:53:50 +0000 (UTC) Received: from r56.edvax.de (port-92-195-37-193.dynamic.qsc.de [92.195.37.193]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 68CC43CE33; Sat, 8 Nov 2014 10:53:42 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id sA89rfoP002061; Sat, 8 Nov 2014 10:53:41 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 8 Nov 2014 10:53:41 +0100 From: Polytropon To: Victor Sudakov Subject: Re: freebsd-update and a custom kernel Message-Id: <20141108105341.106436d5.freebsd@edvax.de> In-Reply-To: <20141108060317.GA45394@admin.sibptus.tomsk.ru> References: <20141108060317.GA45394@admin.sibptus.tomsk.ru> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Nov 2014 09:53:51 -0000 On Sat, 8 Nov 2014 12:03:17 +0600, Victor Sudakov wrote: > Colleagues, > > 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. 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. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...