diff options
Diffstat (limited to 'remote/modules/vmware')
| -rw-r--r-- | remote/modules/vmware/vmware.build | 4 | ||||
| -rw-r--r-- | remote/modules/vmware/vmware.conf | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/remote/modules/vmware/vmware.build b/remote/modules/vmware/vmware.build index b4baf9c2..98ee2b8d 100644 --- a/remote/modules/vmware/vmware.build +++ b/remote/modules/vmware/vmware.build @@ -22,12 +22,14 @@ fetch_source() { build() { local DELETE_FILES - local OLDIFS="$IFS" DELETE_FILES=$(for LINE in $REQUIRED_VMWARE_DELETIONS;do echo rm -rf $LINE; done) # prepare the build directory with the files needed during the chroot cp "${MODULE_DIR}/src/$VMWARE_BUNDLE_FILE" "${MODULE_BUILD_DIR}/$VMWARE_BUNDLE_FILE" cp -r "${MODULE_DIR}/patches" "${MODULE_BUILD_DIR}" + + # sanity check to see if KERNEL_HEADERS_PATH is set and exists + [ -z "${KERNEL_HEADERS_PATH}" -o ! -e "${KERNEL_HEADERS_PATH}" ] && perror "KERNEL_HEADERS_PATH ('"${KERNEL_HEADERS_PATH}"') not found. Was the kernel module built?" pinfo "Installing vmware per chroot..." chroot_run "${MODULE_BUILD_DIR}" <<-EOF diff --git a/remote/modules/vmware/vmware.conf b/remote/modules/vmware/vmware.conf index 51e73b85..017d1d5b 100644 --- a/remote/modules/vmware/vmware.conf +++ b/remote/modules/vmware/vmware.conf @@ -1,5 +1,6 @@ REQUIRED_DOWNLOAD_BASE="http://softwareupdate.vmware.com/cds/vmw-desktop/ws/10.0.1/1379776/linux/core/" REQUIRED_TYPE="workstation" +REQUIRED_MODULES="kernel" REQUIRED_DIRECTORIES=" /etc/vmware /usr/sbin |
