summaryrefslogtreecommitdiff
path: root/eclass/redcore-kernel.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-11-24 16:27:44 +0000
committerV3n3RiX <venerix@rogentos.ro>2016-11-24 16:27:44 +0000
commit5a27815a330b7ef9085df53e1610e831c4350ab7 (patch)
tree15b32a22875be9d12912bcf71e5a5dc5cd8014d3 /eclass/redcore-kernel.eclass
parent29cf7a080f52e2bacddec6050d81c01d9c391310 (diff)
fix dkms removal, it seems previous parsing method was not covering all cases (added, built, installed)
Diffstat (limited to 'eclass/redcore-kernel.eclass')
-rw-r--r--eclass/redcore-kernel.eclass8
1 files changed, 1 insertions, 7 deletions
diff --git a/eclass/redcore-kernel.eclass b/eclass/redcore-kernel.eclass
index f8960a94..56cd978d 100644
--- a/eclass/redcore-kernel.eclass
+++ b/eclass/redcore-kernel.eclass
@@ -731,7 +731,7 @@ _remove_dkms_modules() {
local kver="${PV}-${K_ROGKERNEL_SELF_TARBALL_NAME}-${PR}"
fi
if [[ -x $(which dkms) ]] ; then
- for i in $(dkms status | cut -d , -f1,2 | sed -e 's/, /\//' | uniq) ; do
+ for i in $(dkms status | cut -d " " -f1,2 | sed -e 's/,//g' | sed -e 's/ /\//g' | sed -e 's/://g') ; do
dkms remove $i -k "${kver}"
done
fi
@@ -752,12 +752,6 @@ redcore-kernel_pkg_postinst() {
local depmod_r=$(_get_release_level)
_update_depmod "${depmod_r}"
- elog "Please report kernel bugs at:"
- elog "http://forum.rogentos.ro"
- elog "The kernel source code is located at =${K_KERNEL_SOURCES_PKG}."
- elog "RogentOS Team recommends portage users to install it"
- elog "if you want to build any 3rd party kernel modules"
- elog "(e.g. nvidia-drivers, virtualbox, etc...)."
else
kernel-2_pkg_postinst
fi