Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2013 13:29:30 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
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
Message-ID:  <201311221329.rAMDTU8I096317@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 @@
     <listitem><para>Define <varname>KMODDIR</varname> to <filename
 	class="directory">/boot/modules</filename> by default, add it
       to <varname>PLIST_SUB</varname> and <varname>MAKE_ENV</varname>,
-      and create it upon installation.</para></listitem>
+      and create it upon installation.  If KMODDIR is set to
+      <filename class="directory">/boot/kernel</filename>, it will be
+      rewritten to <filename class="directory">/boot/modules</filename>.
+      This prevents breaking packages when upgrading the kernel due to
+      <filename class="directory">/boot/kernel</filename> being renamed
+      to <filename class="directory">/boot/kernel.old</filename> in the
+      process.</para></listitem>
     <listitem><para>Handle cross-referencing kernel modules upon installation
       and deinstallation.</para></listitem>
   </itemizedlist> 



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