virtualbox-ose: install missing scripts, fix udev rules.
This commit is contained in:
parent
48cab426cc
commit
e7fe66e840
|
@ -1,5 +1,5 @@
|
|||
KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="root", MODE="0600"
|
||||
SUBSYSTEM=="usb_device", ACTION=="add", RUN="/usr/lib/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"
|
||||
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN="/usr/lib/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"
|
||||
SUBSYSTEM=="usb_device", ACTION=="remove", RUN="/usr/lib/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"
|
||||
SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN="/usr/lib/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"
|
||||
KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="root", MODE="0600" ENV{ACL_MANAGE}="1"
|
||||
SUBSYSTEM=="usb_device", ACTION=="add", RUN="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"
|
||||
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"
|
||||
SUBSYSTEM=="usb_device", ACTION=="remove", RUN="/usr/share/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"
|
||||
SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN="/usr/share/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"
|
||||
|
|
|
@ -3,6 +3,7 @@ pkgname=virtualbox-ose
|
|||
_vbox_distver=4.0.10
|
||||
version=${_vbox_distver}
|
||||
patch_args="-Np1"
|
||||
revision=1
|
||||
wrksrc="VirtualBox-${version}_OSE"
|
||||
distfiles="http://download.virtualbox.org/virtualbox/$version/VirtualBox-$version.tar.bz2"
|
||||
build_style=custom-install
|
||||
|
@ -43,8 +44,6 @@ Add_dependency run libIDL
|
|||
Add_dependency run glib
|
||||
Add_dependency run libpulseaudio
|
||||
Add_dependency run ${pkgname}-dkms ">=${version}"
|
||||
Add_dependency run gcc
|
||||
Add_dependency run coreutils
|
||||
Add_dependency run hicolor-icon-theme
|
||||
Add_dependency run desktop-file-utils
|
||||
|
||||
|
@ -123,6 +122,10 @@ do_install()
|
|||
# locales
|
||||
install -m0755 nls/*.qm -t ${DESTDIR}/usr/share/virtualbox/nls
|
||||
|
||||
# scripts
|
||||
install -m0755 VBoxCreateUSBNode.sh VBoxSysInfo.sh \
|
||||
-t ${DESTDIR}/usr/share/virtualbox
|
||||
|
||||
# icons and desktop
|
||||
install -D -m0644 VBox.png ${DESTDIR}/usr/share/pixmaps/VBox.png
|
||||
install -D -m0644 virtualbox.desktop \
|
||||
|
|
|
@ -8,6 +8,7 @@ long_desc="${long_desc}
|
|||
use of these modules. Kernel sources or headers are required to compile this
|
||||
module."
|
||||
|
||||
revision=1
|
||||
dkms_modules="virtualbox-ose ${_vbox_distver}"
|
||||
noarch=yes
|
||||
|
||||
|
|
Loading…
Reference in New Issue