summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-11-24 00:01:22 +0000
committerV3n3RiX <venerix@rogentos.ro>2016-11-24 00:01:22 +0000
commit8b2df332991d0d24c8f4f1d9a11ec25441e4ede9 (patch)
treea211863cfef3bc96aa298b9ddf22f84383379dae
parent449b428bbfb74fced471e91c12ac956c81ce185c (diff)
it looks like this dkms code doesn't work when called from eclass, so drop it
-rw-r--r--eclass/redcore-kernel.eclass21
1 files changed, 0 insertions, 21 deletions
diff --git a/eclass/redcore-kernel.eclass b/eclass/redcore-kernel.eclass
index f8960a94..ad74ea13 100644
--- a/eclass/redcore-kernel.eclass
+++ b/eclass/redcore-kernel.eclass
@@ -717,26 +717,12 @@ _dracut_initramfs_delete() {
_grub2_update_grubcfg() {
if [[ -x $(which grub2-mkconfig) ]]; then
- elog "Updating GRUB-2 bootloader configuration, please wait"
$(which grub2-mkconfig) -o "${ROOT}boot/grub/grub.cfg"
else
elog "It looks like you're not using GRUB-2, you must update bootloader configuration by hand"
fi
}
-_remove_dkms_modules() {
- if [ "${PR}" == "r0" ] ; then
- local kver="${PV}-${K_ROGKERNEL_SELF_TARBALL_NAME}"
- else
- 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
- dkms remove $i -k "${kver}"
- done
- fi
-}
-
redcore-kernel_pkg_postinst() {
if _is_kernel_binary; then
# Update kernel initramfs to match user customizations
@@ -752,12 +738,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
@@ -773,7 +753,6 @@ redcore-kernel_pkg_postrm() {
if _is_kernel_binary; then
_dracut_initramfs_delete
fi
- _remove_dkms_modules
_grub2_update_grubcfg
}