diff options
| author | root | 2013-05-31 16:10:53 +0200 |
|---|---|---|
| committer | root | 2013-05-31 16:10:53 +0200 |
| commit | 7a456f2d51ffbb9e77edfa24c65cf193cc439d70 (patch) | |
| tree | 4fd5a4999642e5869068911438440f36614f0a2e /remote/modules/vmplayer | |
| parent | Also move hidden files when mounting temp partition (diff) | |
| download | tm-scripts-7a456f2d51ffbb9e77edfa24c65cf193cc439d70.tar.gz tm-scripts-7a456f2d51ffbb9e77edfa24c65cf193cc439d70.tar.xz tm-scripts-7a456f2d51ffbb9e77edfa24c65cf193cc439d70.zip | |
[vmplayer] More error checks
[stage31] more error checks in stage31 (and then drop to shell)
[fileutil] Add option to tarcopy to ignore failed reads
Diffstat (limited to 'remote/modules/vmplayer')
| -rw-r--r-- | remote/modules/vmplayer/vmplayer.build | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/remote/modules/vmplayer/vmplayer.build b/remote/modules/vmplayer/vmplayer.build index 70143a7e..e2c830c0 100644 --- a/remote/modules/vmplayer/vmplayer.build +++ b/remote/modules/vmplayer/vmplayer.build @@ -87,6 +87,7 @@ build_modules() { [ -e "/etc/vmware/config" ] && cp "/etc/vmware/config" "/etc/vmware/config.mltk.bak" + mkdir -p "/etc/vmware" || perror "Could not create /etc/vmware" cat > "/etc/vmware/config" << EOF .encoding = "UTF-8" installerDefaults.componentDownloadEnabled = "yes" @@ -135,7 +136,9 @@ EOF pinfo "KOMPALIERE VMWARE KERNEL MODULE" for MOD in vsock vmblock vmmon vmnet vmci; do pinfo "Kompaliere $MOD" - "$VMWARE_MODCONFIG" --console --build-mod -k "$UTS_RELEASE $MOD" "$(which gcc)" "$MODULES_DIR/kernel/ksrc/include" "vmplayer" "$MOD" + [ -s "/lib/modules/$UTS_RELEASE/vmplayer/$MOD.ko" ] && unlink "/lib/modules/$UTS_RELEASE/vmplayer/$MOD.ko" + "$VMWARE_MODCONFIG" --console --build-mod -k "$UTS_RELEASE" "$MOD" "$(which gcc)" "$MODULES_DIR/kernel/ksrc/include" "vmplayer" "$MOD" + [ ! -s "/lib/modules/$UTS_RELEASE/vmplayer/$MOD.ko" ] && perror "Error compiling via $VMWARE_MODCONFIG" done cd - |
