diff --git a/eclass/vmware-mod-2.eclass b/eclass/vmware-mod-2.eclass index 1f35e5a7..fe7b1ee8 100644 --- a/eclass/vmware-mod-2.eclass +++ b/eclass/vmware-mod-2.eclass @@ -17,8 +17,9 @@ LICENSE="GPL-2" case ${PN} in vmware-modules) # vmware modules greater 208 (Workstation 6.5.* or Player 2.5.* or server 2.0.*) are GPL-2 - # the version number is from vmmon-only/include/iocontrols.h VMMON_VERSION - # put them into its own package + # the MAJOR version number is from vmmon-only/include/iocontrols.h VMMON_VERSION + # the MINOR version number is the SUBVERSION number if the wkst, player, or server package + # (normally they match) put them into its own package # older modules are licensed VMware Confidental # we have to get them from the upstream package # !!! dont put them into its own package !!! @@ -86,7 +87,7 @@ vmware-mod-2_pkg_setup() { VMWARE_MODULE_LIST="${VMWARE_MODULE_LIST} pvscsi vmblock vmci vmhgfs vmmemctl vmsync vmxnet vmxnet3 vsock" for mod in ${VMWARE_MODULE_LIST}; do # modules should go into right directory - # this should be extended for the fs modules vmblock & vmhgfs and pvscsi + # this should some day be extended for the fs modules vmblock & vmhgfs and pvscsi if [ "${mod}" == "vmxnet" -o "${mod}" == "vmxnet3" ]; then MODTARGET="net" @@ -153,20 +154,20 @@ vmware-mod-2_src_compile() { vmware-mod-2_src_install() { -case ${PN} in - vmware-modules) - dodir /etc/udev/rules.d - for mod in ${VMWARE_MODULE_LIST}; do - echo 'KERNEL=="'$mod'*", GROUP="'$VMWARE_GROUP'" MODE=660' >> "${D}/etc/udev/rules.d/60-vmware.rules" || die - done + case ${PN} in + vmware-modules) + dodir /etc/udev/rules.d + for mod in ${VMWARE_MODULE_LIST}; do + echo 'KERNEL=="'$mod'*", GROUP="'$VMWARE_GROUP'" MODE=660' >> "${D}/etc/udev/rules.d/60-vmware.rules" || die + done + ;; + open-vm-modules) + einfo "no udev rules required" + ;; + *) + ewarn "unknown modules package" ;; - open-vm-modules) - einfo "no udev rules required" - ;; - *) - ewarn "unknown modules package" - ;; -esac + esac linux-mod_src_install }