diff options
-rw-r--r-- | app-emulation/virtualbox-modules/ChangeLog | 7 | ||||
-rw-r--r-- | app-emulation/virtualbox-modules/files/virtualbox.conf | 3 | ||||
-rw-r--r-- | app-emulation/virtualbox-modules/virtualbox-modules-4.3.2.ebuild | 7 |
3 files changed, 14 insertions, 3 deletions
diff --git a/app-emulation/virtualbox-modules/ChangeLog b/app-emulation/virtualbox-modules/ChangeLog index 3cf5be6045da..cfe743740e6a 100644 --- a/app-emulation/virtualbox-modules/ChangeLog +++ b/app-emulation/virtualbox-modules/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-emulation/virtualbox-modules # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v 1.135 2013/11/02 15:12:01 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v 1.136 2013/11/17 12:24:37 pacho Exp $ + + 17 Nov 2013; Pacho Ramos <pacho@gentoo.org> +files/virtualbox.conf, + virtualbox-modules-4.3.2.ebuild: + Install a modules-load.d file to load modules automatically on systemd + (#490988 by Rafal Rzepecki) *virtualbox-modules-4.3.2 (02 Nov 2013) diff --git a/app-emulation/virtualbox-modules/files/virtualbox.conf b/app-emulation/virtualbox-modules/files/virtualbox.conf new file mode 100644 index 000000000000..6e882a17cb08 --- /dev/null +++ b/app-emulation/virtualbox-modules/files/virtualbox.conf @@ -0,0 +1,3 @@ +vboxnetflt +vboxnetadp +vboxdrv diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-4.3.2.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-4.3.2.ebuild index 0b8e8d7c832c..12d40bfc3daa 100644 --- a/app-emulation/virtualbox-modules/virtualbox-modules-4.3.2.ebuild +++ b/app-emulation/virtualbox-modules/virtualbox-modules-4.3.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-4.3.2.ebuild,v 1.1 2013/11/02 15:12:01 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-4.3.2.ebuild,v 1.2 2013/11/17 12:24:37 pacho Exp $ # XXX: the tarball here is just the kernel modules split out of the binary # package that comes from virtualbox-bin @@ -47,10 +47,13 @@ src_prepare() { src_install() { linux-mod_src_install + insinto /usr/lib/modules-load.d/ + doins "${FILESDIR}"/virtualbox.conf } pkg_postinst() { linux-mod_pkg_postinst - elog "Please add \"vboxdrv\", \"vboxnetflt\" and \"vboxnetadp\" to:" + elog "If you are using openRC, please add \"vboxdrv\", \"vboxnetflt\"" + elog "and \"vboxnetadp\" to:" elog "/etc/conf.d/modules" } |