summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-emulation/virtualbox-modules/Manifest2
-rw-r--r--app-emulation/virtualbox-modules/virtualbox-modules-3.1.0.ebuild12
2 files changed, 9 insertions, 5 deletions
diff --git a/app-emulation/virtualbox-modules/Manifest b/app-emulation/virtualbox-modules/Manifest
index 309c880..4aa0900 100644
--- a/app-emulation/virtualbox-modules/Manifest
+++ b/app-emulation/virtualbox-modules/Manifest
@@ -1,4 +1,4 @@
DIST vbox-kernel-module-src-3.1.0.tar.bz2 683236 RMD160 da40fc8517b86237c6f3c5b4caa8f97c9feab89b SHA1 fee5cbd5a3ab4fa1de099616821838dbadede7d3 SHA256 1bd977450324fa962c4a30713a514f60f1b2e8df6f58bdb6b44dd9b73a75f8a6
-EBUILD virtualbox-modules-3.1.0.ebuild 1786 RMD160 59abf66e56d944aa984099536803a509ad324a07 SHA1 d2eb278d68b830c49b125048bb3295246cac9cc9 SHA256 ccfc03cd9834b7419b71d5ee321bf1397269d2ee93fd06f2ca9a03d3a229e73b
+EBUILD virtualbox-modules-3.1.0.ebuild 1895 RMD160 dadaa019a842d853a6a75ba542756d533a5f95a0 SHA1 5ed103deaa2e51f33112098c01ccd86411fd6212 SHA256 89307b8be990989a678cdbcae8f768eba3f6bf0de56726d92514031721262b28
MISC ChangeLog 9767 RMD160 f6c4bc9b016bb2bad46d543f387158d63cba62ac SHA1 e99012bc3df6aee697670b5e6b45d5aa85cc9f32 SHA256 2e384276152c78e8f2c85701c4f817c2989d682555842f6e51a90ff24a2e34c8
MISC metadata.xml 344 RMD160 12935d5b21be85bc4222fd06371c93dcbf6f534e SHA1 68b99919921f246738cce4350b77d895e7c78106 SHA256 fff5aeb6f453d2e137765ca5016e81344cb0cd0cecd51d81bbb889cb1d7a5ba9
diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-3.1.0.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-3.1.0.ebuild
index 65bcd8f..c496308 100644
--- a/app-emulation/virtualbox-modules/virtualbox-modules-3.1.0.ebuild
+++ b/app-emulation/virtualbox-modules/virtualbox-modules-3.1.0.ebuild
@@ -38,11 +38,9 @@ src_install() {
# udev rule for vboxdrv
dodir /etc/udev/rules.d
- echo 'KERNEL=="vboxdrv", OWNER="root", GROUP="root", MODE="0660"' \
+ echo '#SUBSYSTEM=="usb_device", GROUP="vboxusers", MODE="0644"' \
> "${D}/etc/udev/rules.d/10-virtualbox.rules"
- echo 'SUBSYSTEM=="usb_device", GROUP="vboxusers", MODE="0644"' \
- >> "${D}/etc/udev/rules.d/10-virtualbox.rules"
- echo 'SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="vboxusers", MODE="0644"' \
+ echo '#SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="vboxusers", MODE="0644"' \
>> "${D}/etc/udev/rules.d/10-virtualbox.rules"
}
@@ -58,4 +56,10 @@ pkg_postinst() {
elog "/etc/modules.autoload.d/kernel-${KV_MAJOR}.${KV_MINOR}"
fi
elog ""
+ elog "If you are experiencing problems with USB Support"
+ elog "on your guests with app-emulation/virtualbox-bin,"
+ elog "uncomment the udev rules placed in:"
+ elog ""
+ elog "/etc/udev/rules.d/10-virtualbox.rules"
+ elog ""
}