summaryrefslogtreecommitdiff
path: root/sys-kernel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-19 10:49:21 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-19 10:49:21 +0000
commit44b7ccecc191faf94978277eee411f5aac8a21eb (patch)
tree51589b59d8199e2af7b15aa25ac88f4ec12efee8 /sys-kernel
parent7598082936c5990266cb2caa19b068bd923a0267 (diff)
sys-kernel/linux-{image,sources}-redcore : revision bump
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/linux-image-redcore/linux-image-redcore-6.0.19-r1.ebuild (renamed from sys-kernel/linux-image-redcore/linux-image-redcore-6.0.19.ebuild)7
-rw-r--r--sys-kernel/linux-sources-redcore/linux-sources-redcore-6.0.19-r1.ebuild (renamed from sys-kernel/linux-sources-redcore/linux-sources-redcore-6.0.19.ebuild)2
2 files changed, 5 insertions, 4 deletions
diff --git a/sys-kernel/linux-image-redcore/linux-image-redcore-6.0.19.ebuild b/sys-kernel/linux-image-redcore/linux-image-redcore-6.0.19-r1.ebuild
index 18dc1946..369a89cd 100644
--- a/sys-kernel/linux-image-redcore/linux-image-redcore-6.0.19.ebuild
+++ b/sys-kernel/linux-image-redcore/linux-image-redcore-6.0.19-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=6
inherit eutils
-EXTRAVERSION="redcore"
+EXTRAVERSION="redcore-r1"
KV_FULL="${PV}-${EXTRAVERSION}"
KV_MAJOR="6.0"
@@ -115,11 +115,12 @@ _dracut_initrd_delete() {
rm -rf "${ROOT}"boot/initrd-"${KV_FULL}"
}
-_dkms_modules_delete() {
+_dkms_modules_manage() {
if [[ -x $(which dkms) ]] ; then
export local DKMSMOD
for DKMSMOD in $(dkms status | cut -d " " -f1,2 | sed -e 's/,//g' | sed -e 's/ /\//g' | sed -e 's/://g' | uniq) ; do
dkms remove "${DKMSMOD}" -k "${KV_FULL}"
+ dkms add "${DKMSMOD}" > /dev/null 2>&1
done
fi
}
@@ -145,7 +146,7 @@ pkg_postrm() {
_grub2_update_grubcfg
fi
if use dkms; then
- _dkms_modules_delete
+ _dkms_modules_manage
fi
_kernel_modules_delete
}
diff --git a/sys-kernel/linux-sources-redcore/linux-sources-redcore-6.0.19.ebuild b/sys-kernel/linux-sources-redcore/linux-sources-redcore-6.0.19-r1.ebuild
index cc3812f9..f005c34c 100644
--- a/sys-kernel/linux-sources-redcore/linux-sources-redcore-6.0.19.ebuild
+++ b/sys-kernel/linux-sources-redcore/linux-sources-redcore-6.0.19-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=6
inherit eutils
-EXTRAVERSION="redcore"
+EXTRAVERSION="redcore-r1"
KV_FULL="${PV}-${EXTRAVERSION}"
KV_MAJOR="6.0"