This addresses concerns that users might not realize that after an
unmerge of kernel sources some files will need to be removed manually.
The particular concern was specific to the files in /lib/modules/. I
liked this solution, since it does not require a wordy explanation to be
written in the eclass.

---
 eclass/kernel-2.eclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 520a4c1..29b2987 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -1619,4 +1619,7 @@ kernel-2_pkg_postrm() {
        ewarn "with modified files will remain behind. By design, package
managers"
        ewarn "will not remove these modified files and the directories they
reside in."
        echo
+       ewarn "For more detailed kernel removal instructions, please see: "
+       ewarn "https://wiki.gentoo.org/wiki/Kernel/Removal";
+       echo
 }
-- 
2.10.2



Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to