From owner-svn-src-projects@FreeBSD.ORG Mon Feb 9 08:47:12 2015 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A050AB2E; Mon, 9 Feb 2015 08:47:12 +0000 (UTC) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (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 1378DE19; Mon, 9 Feb 2015 08:47:11 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.9/8.14.9) with ESMTP id t198l56q007571 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 9 Feb 2015 10:47:06 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.9.2 kib.kiev.ua t198l56q007571 Received: (from kostik@localhost) by tom.home (8.14.9/8.14.9/Submit) id t198l5Y7007570; Mon, 9 Feb 2015 10:47:05 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 9 Feb 2015 10:47:05 +0200 From: Konstantin Belousov To: Baptiste Daroussin Subject: Re: svn commit: r278396 - projects/release-pkg/release/packages/kernel Message-ID: <20150209084705.GA42409@kib.kiev.ua> References: <201502081912.t18JCc12049452@svn.freebsd.org> <20150208210224.GZ42409@kib.kiev.ua> <20150208210911.GE29891@ivaldir.etoilebsd.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150208210911.GE29891@ivaldir.etoilebsd.net> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tom.home Cc: svn-src-projects@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2015 08:47:12 -0000 On Sun, Feb 08, 2015 at 10:09:11PM +0100, Baptiste Daroussin wrote: > On Sun, Feb 08, 2015 at 11:02:24PM +0200, Konstantin Belousov wrote: > > On Sun, Feb 08, 2015 at 07:12:38PM +0000, Baptiste Daroussin wrote: > > > Author: bapt > > > Date: Sun Feb 8 19:12:38 2015 > > > New Revision: 278396 > > > URL: https://svnweb.freebsd.org/changeset/base/278396 > > > > > > Log: > > > Running kldxref after the kernel installation is useless given it will be done > > > at reboot > > > > It is strange. What runs kldxref on reboot ? > > I suppose that kldxref should be run before packaging, and the result is > > packaged together with the modules. > > Except that in that case linkers.hints will be tracked by the package manager > aka pkg check -s will yell about then checksum being changed. Ok, I figured out my confusion. You are referencing the rc.d/kldxref update, am I right. Arguably, this is too late (after the reboot, i.e. after the loader and rc.d/kld were done). > > I'll add back kldxref as post-install. This should be fine, thanks.