From owner-svn-doc-all@FreeBSD.ORG Fri Nov 22 13:29:30 2013 Return-Path: Delivered-To: svn-doc-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5AC57C3; Fri, 22 Nov 2013 13:29:30 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4A678248B; Fri, 22 Nov 2013 13:29:30 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAMDTUHc096318; Fri, 22 Nov 2013 13:29:30 GMT (envelope-from rene@svn.freebsd.org) Received: (from rene@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAMDTU8I096317; Fri, 22 Nov 2013 13:29:30 GMT (envelope-from rene@svn.freebsd.org) Message-Id: <201311221329.rAMDTU8I096317@svn.freebsd.org> From: Rene Ladan Date: Fri, 22 Nov 2013 13:29:30 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r43213 - head/en_US.ISO8859-1/books/porters-handbook X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Nov 2013 13:29:30 -0000 Author: rene Date: Fri Nov 22 13:29:29 2013 New Revision: 43213 URL: http://svnweb.freebsd.org/changeset/doc/43213 Log: Expand description of USES=kmod explaining why KMODDIR=/boot/kernel is a bad idea and therefore rewritten. Approved by: gjb (mentor) Modified: head/en_US.ISO8859-1/books/porters-handbook/uses.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/uses.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/uses.xml Fri Nov 22 11:49:36 2013 (r43212) +++ head/en_US.ISO8859-1/books/porters-handbook/uses.xml Fri Nov 22 13:29:29 2013 (r43213) @@ -144,7 +144,13 @@ Define KMODDIR to /boot/modules by default, add it to PLIST_SUB and MAKE_ENV, - and create it upon installation. + and create it upon installation. If KMODDIR is set to + /boot/kernel, it will be + rewritten to /boot/modules. + This prevents breaking packages when upgrading the kernel due to + /boot/kernel being renamed + to /boot/kernel.old in the + process. Handle cross-referencing kernel modules upon installation and deinstallation.