summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2024-02-12 11:23:41 +0100
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2024-02-12 11:35:16 +0100
commitcf7a6ae1e769e0e41163d402c9cc8dcf155b88f6 (patch)
tree3aa648f2071cf683041b24a6824e56c0b9cfba5c /sys-kernel/dkms
parentdev-libs/icu-layoutex: Stabilize 74.2 amd64, #923155 (diff)
downloadgentoo-cf7a6ae1e769e0e41163d402c9cc8dcf155b88f6.tar.gz
gentoo-cf7a6ae1e769e0e41163d402c9cc8dcf155b88f6.tar.bz2
gentoo-cf7a6ae1e769e0e41163d402c9cc8dcf155b88f6.zip
sys-kernel/dkms: add compatibility symlinks for installkernel[-systemd]
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'sys-kernel/dkms')
-rw-r--r--sys-kernel/dkms/dkms-3.0.12-r1.ebuild (renamed from sys-kernel/dkms/dkms-3.0.12.ebuild)3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-kernel/dkms/dkms-3.0.12.ebuild b/sys-kernel/dkms/dkms-3.0.12-r1.ebuild
index 832fba5761ab..7cfc1c96a1f1 100644
--- a/sys-kernel/dkms/dkms-3.0.12.ebuild
+++ b/sys-kernel/dkms/dkms-3.0.12-r1.ebuild
@@ -46,6 +46,9 @@ src_install() {
else
emake install DESTDIR="${ED}" KCONF="/usr/lib/kernel"
fi
+ # Backwards compatibility with sys-kernel/installkernel[-systemd]
+ dosym ../../../usr/lib/kernel/postinst.d/dkms /etc/kernel/postinst.d/dkms
+ dosym ../../../usr/lib/kernel/prerm.d/dkms /etc/kernel/prerm.d/dkms
einstalldocs
keepdir /var/lib/dkms
}