svn commit: r43213 - head/en_US.ISO8859-1/books/porters-handbook

Rene Ladan rene at
Fri Nov 22 13:29:30 UTC 2013

Author: rene
Date: Fri Nov 22 13:29:29 2013
New Revision: 43213

  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
--- 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>

More information about the svn-doc-all mailing list