summaryrefslogtreecommitdiff
path: root/eclass/redcore-kernel.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-22 21:07:57 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-22 21:07:57 +0000
commit64a2dcb237092194157b4235c64d39ddc7475801 (patch)
tree49a0404ef27563028466c719ed4b3b0523490b30 /eclass/redcore-kernel.eclass
parentdbf24e14c87f953aa3d18d000c376dd55b454962 (diff)
redcore-kernel.eclass : only trigger dkms && grub updates on kernel-image
Diffstat (limited to 'eclass/redcore-kernel.eclass')
-rw-r--r--eclass/redcore-kernel.eclass6
1 files changed, 2 insertions, 4 deletions
diff --git a/eclass/redcore-kernel.eclass b/eclass/redcore-kernel.eclass
index 55d4833e..786b7c58 100644
--- a/eclass/redcore-kernel.eclass
+++ b/eclass/redcore-kernel.eclass
@@ -521,8 +521,6 @@ _remove_dkms_modules() {
redcore-kernel_pkg_postinst() {
if _is_kernel_binary; then
- # Update kernel initramfs to match user customizations
- use splash && update_redcore_kernel_initramfs_splash
# generate initramfs with dracut
if use dracut ; then
_dracut_initramfs_create
@@ -548,9 +546,9 @@ redcore-kernel_pkg_prerm() {
redcore-kernel_pkg_postrm() {
if _is_kernel_binary; then
_dracut_initramfs_delete
+ _remove_dkms_modules
+ _grub2_update_grubcfg
fi
- _remove_dkms_modules
- _grub2_update_grubcfg
}
# export all the available functions here