diff options
author | Fabio Erculiani <lxnay@gentoo.org> | 2013-04-27 09:15:09 +0000 |
---|---|---|
committer | Fabio Erculiani <lxnay@gentoo.org> | 2013-04-27 09:15:09 +0000 |
commit | 05bbca02c10abff8ca84ae12fcb1c0b82e26202f (patch) | |
tree | 29f7835ac96facaeea45da5d080368df42c1724c | |
parent | Update to EAPI=4. Add support for USE=logrotate. #324401 by Hank Leininger. (diff) | |
download | gentoo-2-05bbca02c10abff8ca84ae12fcb1c0b82e26202f.tar.gz gentoo-2-05bbca02c10abff8ca84ae12fcb1c0b82e26202f.tar.bz2 gentoo-2-05bbca02c10abff8ca84ae12fcb1c0b82e26202f.zip |
add systemd unit, close bug #466148
(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key ADC916E5)
3 files changed, 25 insertions, 3 deletions
diff --git a/app-emulation/virtualbox-guest-additions/ChangeLog b/app-emulation/virtualbox-guest-additions/ChangeLog index 727a0266308f..de7ce49995b4 100644 --- a/app-emulation/virtualbox-guest-additions/ChangeLog +++ b/app-emulation/virtualbox-guest-additions/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-emulation/virtualbox-guest-additions # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog,v 1.120 2013/04/13 20:35:58 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog,v 1.121 2013/04/27 09:15:09 lxnay Exp $ + + 27 Apr 2013; Fabio Erculiani <lxnay@gentoo.org> + virtualbox-guest-additions-4.2.12.ebuild, + +files/virtualbox-guest-additions.service: + add systemd unit, close bug #466148 *virtualbox-guest-additions-4.2.12 (13 Apr 2013) *virtualbox-guest-additions-4.1.26 (13 Apr 2013) diff --git a/app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions.service b/app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions.service new file mode 100644 index 000000000000..fe5ee92645c6 --- /dev/null +++ b/app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions.service @@ -0,0 +1,15 @@ +[Unit] +Description=VirtualBox Guest Additions +Before=display-manager.service + +[Service] +Type=simple +ExecStartPre=/sbin/modprobe vboxguest +ExecStartPre=/sbin/modprobe vboxsf +ExecStart=/usr/sbin/vboxguest-service --foreground +ExecStopPost=/sbin/modprobe -r vboxsf +ExecStopPost=/sbin/modprobe -r vboxguest +PIDFile=/var/run/vboxguest-service.pid + +[Install] +WantedBy=multi-user.target diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.2.12.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.2.12.ebuild index 584cad6f8711..c4313e2f1aec 100644 --- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.2.12.ebuild +++ b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.2.12.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.2.12.ebuild,v 1.1 2013/04/13 20:35:58 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.2.12.ebuild,v 1.2 2013/04/27 09:15:09 lxnay Exp $ EAPI=2 -inherit eutils linux-mod user +inherit eutils linux-mod systemd user MY_PV="${PV/beta/BETA}" MY_PV="${PV/rc/RC}" @@ -164,6 +164,8 @@ src_install() { # sample xorg.conf insinto /usr/share/doc/${PF} doins "${FILESDIR}"/xorg.conf.vbox + + systemd_dounit "${FILESDIR}/${PN}.service" } pkg_postinst() { |