From 3eda0879ac90eb05264e86f794b91b2915dbbf09 Mon Sep 17 00:00:00 2001 From: Rene Ladan Date: Fri, 22 Nov 2013 13:29:29 +0000 Subject: [PATCH] Expand description of USES=kmod explaining why KMODDIR=/boot/kernel is a bad idea and therefore rewritten. Approved by: gjb (mentor) --- en_US.ISO8859-1/books/porters-handbook/uses.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/en_US.ISO8859-1/books/porters-handbook/uses.xml b/en_US.ISO8859-1/books/porters-handbook/uses.xml index 633765519f..3d263d22ce 100644 --- a/en_US.ISO8859-1/books/porters-handbook/uses.xml +++ b/en_US.ISO8859-1/books/porters-handbook/uses.xml @@ -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.