summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-12-12 11:56:35 +0100
committerLars Wendler <polynomial-c@gentoo.org>2019-12-12 11:56:56 +0100
commitc3d6f2d6df2899a52e22eb0ce5a026163ffa9cbb (patch)
tree97303cce7f909f06424fb84d0697ffdf5f4786e5 /app-emulation
parenteclass/ros-catkin.eclass: Switch the entire ROS stack to python 3.6 (diff)
downloadgentoo-c3d6f2d6df2899a52e22eb0ce5a026163ffa9cbb.tar.gz
gentoo-c3d6f2d6df2899a52e22eb0ce5a026163ffa9cbb.tar.bz2
gentoo-c3d6f2d6df2899a52e22eb0ce5a026163ffa9cbb.zip
app-emulation/virtualbox-modules: Remove vboxpci.ko from current kernel
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/virtualbox-modules/virtualbox-modules-6.1.0.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-6.1.0.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-6.1.0.ebuild
index 7cce58cdc8ff..bd1f35d642f2 100644
--- a/app-emulation/virtualbox-modules/virtualbox-modules-6.1.0.ebuild
+++ b/app-emulation/virtualbox-modules/virtualbox-modules-6.1.0.ebuild
@@ -48,5 +48,7 @@ src_install() {
}
pkg_postinst() {
+ # Remove vboxpci.ko from current running kernel
+ find /lib/modules/${KV_FULL}/misc -type f -name "vboxpci.ko" -delete || die
linux-mod_pkg_postinst
}