diff options
author | Simon Rettberg | 2013-10-14 18:59:19 +0200 |
---|---|---|
committer | Simon Rettberg | 2013-10-14 18:59:19 +0200 |
commit | eb4a83321ccae1b55fe65474b0f1f0f69c06b3a2 (patch) | |
tree | 63ff75dc7dbc404923f374133d58888d35ba91e4 /remote/setup_target | |
parent | [cups] cups module config file for openSuse (diff) | |
download | tm-scripts-eb4a83321ccae1b55fe65474b0f1f0f69c06b3a2.tar.gz tm-scripts-eb4a83321ccae1b55fe65474b0f1f0f69c06b3a2.tar.xz tm-scripts-eb4a83321ccae1b55fe65474b0f1f0f69c06b3a2.zip |
[vmware] Switch from VMware player to workstation, bump version to 10.0 (would be player 6.0)
also rename module from vmplayer to vmware to be more generic in case we switch again
Diffstat (limited to 'remote/setup_target')
-rwxr-xr-x | remote/setup_target | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/remote/setup_target b/remote/setup_target index dc8bd151..86da6d4c 100755 --- a/remote/setup_target +++ b/remote/setup_target @@ -322,6 +322,7 @@ process_module() { pinfo "## Reading build" read_build pinfo "## Installing dependencies" + cd "${MODULE_DIR}" || perror "cd to '${MODULE_DIR}' failed." install_dependencies pinfo "## Fetching source" [ -e "${MODULE_DIR}/.fetched_source" ] || { fetch_source && touch "${MODULE_DIR}/.fetched_source"; } @@ -330,6 +331,7 @@ process_module() { else pinfo "## Building" mkdir -p "${MODULE_BUILD_DIR}" || perror "Could not create build dir" + cd "${MODULE_DIR}" || perror "cd to '${MODULE_DIR}' failed." build # calls perror if something fails, no need to do that here touch "${MODULE_DIR}/.built" || pwarning "Error setting built-flag" fi @@ -337,12 +339,15 @@ process_module() { [ -d "${MODULE_BUILD_DIR}" ] && find "${MODULE_BUILD_DIR}" -name '*.la' -exec rm -f {} \; [ -d "${TARGET_BUILD_DIR}" ] && TARGET_BUILD_SIZE=$(du -bc "${TARGET_BUILD_DIR}" | awk 'END {print $1}') || TARGET_BUILD_SIZE=0 pinfo "## Copying files with dependencies" + cd "${MODULE_DIR}" || perror "cd to '${MODULE_DIR}' failed." copy_files_with_deps pinfo "## Copying required system files" # REQUIRED_SYSTEM_FILES + cd "${MODULE_DIR}" || perror "cd to '${MODULE_DIR}' failed." copy_system_files pinfo "## Copying static module files" copy_static_data pinfo "## Post copy" + cd "${MODULE_DIR}" || perror "cd to '${MODULE_DIR}' failed." post_copy # Sanity checks [ -e "$TARGET_BUILD_DIR/var/run" -a ! -L "$TARGET_BUILD_DIR/var/run" ] && perror "Messup datected: $TARGET_BUILD_DIR/var/run exists and is not a symlink!" |