diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2011-06-30 04:11:55 +0000 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2011-06-30 04:11:55 +0000 |
commit | 7ade290828bb8d357e09b0cfe4847d7c0b5887c4 (patch) | |
tree | f3e61a9226ff8b17a00b22575f60a5241aa4567e /app-emulation | |
parent | Import modifications necessary for prefix from prefix-overlay, add some prefi... (diff) | |
download | gentoo-2-7ade290828bb8d357e09b0cfe4847d7c0b5887c4.tar.gz gentoo-2-7ade290828bb8d357e09b0cfe4847d7c0b5887c4.tar.bz2 gentoo-2-7ade290828bb8d357e09b0cfe4847d7c0b5887c4.zip |
Fixed udev rules to look in /lib/udev for VBoxCreateUSBNode.sh (bug #373515)
(Portage version: 2.2.0_alpha41/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/virtualbox-bin/ChangeLog | 10 | ||||
-rw-r--r-- | app-emulation/virtualbox-bin/files/10-virtualbox.rules | 8 | ||||
-rw-r--r-- | app-emulation/virtualbox-bin/virtualbox-bin-4.0.10-r1.ebuild (renamed from app-emulation/virtualbox-bin/virtualbox-bin-4.0.10.ebuild) | 2 | ||||
-rw-r--r-- | app-emulation/virtualbox-bin/virtualbox-bin-4.0.8.ebuild | 6 |
4 files changed, 18 insertions, 8 deletions
diff --git a/app-emulation/virtualbox-bin/ChangeLog b/app-emulation/virtualbox-bin/ChangeLog index c5153bbf0ae4..a8a86e78b30c 100644 --- a/app-emulation/virtualbox-bin/ChangeLog +++ b/app-emulation/virtualbox-bin/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-emulation/virtualbox-bin # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/ChangeLog,v 1.109 2011/06/28 20:43:04 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/ChangeLog,v 1.110 2011/06/30 04:11:55 polynomial-c Exp $ + +*virtualbox-bin-4.0.10-r1 (30 Jun 2011) + + 30 Jun 2011; Lars Wendler <polynomial-c@gentoo.org> + files/10-virtualbox.rules, virtualbox-bin-4.0.8.ebuild, + -virtualbox-bin-4.0.10.ebuild, +virtualbox-bin-4.0.10-r1.ebuild: + Fixed udev rules to look in /lib/udev for VBoxCreateUSBNode.sh. Thanks to + Nikolaos Chatzidakis for reporting this in bug #373515. *virtualbox-bin-4.0.10 (28 Jun 2011) diff --git a/app-emulation/virtualbox-bin/files/10-virtualbox.rules b/app-emulation/virtualbox-bin/files/10-virtualbox.rules index a629704f4d76..8efff249f8fc 100644 --- a/app-emulation/virtualbox-bin/files/10-virtualbox.rules +++ b/app-emulation/virtualbox-bin/files/10-virtualbox.rules @@ -1,7 +1,7 @@ # create second tree of USB devices according to # http://www.virtualbox.org/ticket/7759#comment:5 -SUBSYSTEM=="usb_device", ACTION!="remove", RUN="/opt/VirtualBox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}" -SUBSYSTEM=="usb", ACTION!="remove", ENV{DEVTYPE}=="usb_device", RUN="/opt/VirtualBox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}" -SUBSYSTEM=="usb_device", ACTION=="remove", RUN="/opt/VirtualBox/VBoxCreateUSBNode.sh --remove $major $minor" -SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN="/opt/VirtualBox/VBoxCreateUSBNode.sh --remove $major $minor" +SUBSYSTEM=="usb_device", ACTION!="remove", RUN="/lib/udev/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}" +SUBSYSTEM=="usb", ACTION!="remove", ENV{DEVTYPE}=="usb_device", RUN="/lib/udev/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}" +SUBSYSTEM=="usb_device", ACTION=="remove", RUN="/lib/udev/VBoxCreateUSBNode.sh --remove $major $minor" +SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN="/lib/udev/VBoxCreateUSBNode.sh --remove $major $minor" diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-4.0.10.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-4.0.10-r1.ebuild index 5b14efec35bf..4585f487eda5 100644 --- a/app-emulation/virtualbox-bin/virtualbox-bin-4.0.10.ebuild +++ b/app-emulation/virtualbox-bin/virtualbox-bin-4.0.10-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-4.0.10.ebuild,v 1.1 2011/06/28 20:43:04 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-4.0.10-r1.ebuild,v 1.1 2011/06/30 04:11:55 polynomial-c Exp $ EAPI=2 diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-4.0.8.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-4.0.8.ebuild index 4a70f103ead2..0893ec37d536 100644 --- a/app-emulation/virtualbox-bin/virtualbox-bin-4.0.8.ebuild +++ b/app-emulation/virtualbox-bin/virtualbox-bin-4.0.8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-4.0.8.ebuild,v 1.1 2011/05/18 21:34:03 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-4.0.8.ebuild,v 1.2 2011/06/30 04:11:55 polynomial-c Exp $ EAPI=2 @@ -294,7 +294,9 @@ src_install() { insinto /lib/udev/rules.d doins "${FILESDIR}"/10-virtualbox.rules - fperms 0750 /opt/VirtualBox/VBoxCreateUSBNode.sh + # move udev scripts into /lib/udev (bug #372491) + mv "${D}"/opt/VirtualBox/VBoxCreateUSBNode.sh "${D}"/lib/udev + fperms 0750 /lib/udev/VBoxCreateUSBNode.sh } pkg_postinst() { |