summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Auty <ikelos@gentoo.org>2007-01-05 17:52:20 +0000
committerMike Auty <ikelos@gentoo.org>2007-01-05 17:52:20 +0000
commit1c6adb65796871cb98876124e34c0314c102aa9c (patch)
treed629fedcb3b76ff2d175c67dfb0af04fa6a2f21d /eclass/vmware-mod.eclass
parentRemove old version. (diff)
downloadhistorical-1c6adb65796871cb98876124e34c0314c102aa9c.tar.gz
historical-1c6adb65796871cb98876124e34c0314c102aa9c.tar.bz2
historical-1c6adb65796871cb98876124e34c0314c102aa9c.zip
vmware-mod preparations for workstation version 6
vmware fixes for pax markings
Diffstat (limited to 'eclass/vmware-mod.eclass')
-rw-r--r--eclass/vmware-mod.eclass20
1 files changed, 11 insertions, 9 deletions
diff --git a/eclass/vmware-mod.eclass b/eclass/vmware-mod.eclass
index c82d2ebc90c0..1bfcb572f2de 100644
--- a/eclass/vmware-mod.eclass
+++ b/eclass/vmware-mod.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vmware-mod.eclass,v 1.6 2006/11/22 17:16:14 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vmware-mod.eclass,v 1.7 2007/01/05 17:52:20 ikelos Exp $
# Ensure vmware comes before linux-mod since we want linux-mod's pkg_preinst and
@@ -37,14 +37,16 @@ vmware-mod_pkg_setup() {
vmware_determine_product
- case ${product} in
- vmware-tools)
- VMWARE_MODULE_LIST="vmdesched vmhgfs vmmemctl vmxnet"
- ;;
- *)
- VMWARE_MODULE_LIST="vmmon vmnet"
- ;;
- esac
+ if [[ -z "${VMWARE_MODULE_LIST}" ]]; then
+ case ${product} in
+ vmware-tools)
+ VMWARE_MODULE_LIST="${VMWARE_MODULE_LIST}vmdesched vmhgfs vmmemctl vmxnet"
+ ;;
+ *)
+ VMWARE_MODULE_LIST="${VMWARE_MODULE_LIST}vmmon vmnet"
+ ;;
+ esac
+ fi
for mod in ${VMWARE_MODULE_LIST}; do
MODULE_NAMES="${MODULE_NAMES}