summaryrefslogtreecommitdiffstats
path: root/remote/modules/vmware
diff options
context:
space:
mode:
authorJonathan Bauer2014-04-17 12:43:37 +0200
committerJonathan Bauer2014-04-17 12:43:37 +0200
commit94626bc51759e130b1d2a6235f00f7633737738b (patch)
treec2c5133d1ecc327a108629746730493fa590e722 /remote/modules/vmware
parentMerge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff)
downloadtm-scripts-94626bc51759e130b1d2a6235f00f7633737738b.tar.gz
tm-scripts-94626bc51759e130b1d2a6235f00f7633737738b.tar.xz
tm-scripts-94626bc51759e130b1d2a6235f00f7633737738b.zip
[vmware] added exit codes for chroot steps
Diffstat (limited to 'remote/modules/vmware')
-rw-r--r--remote/modules/vmware/module.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/remote/modules/vmware/module.build b/remote/modules/vmware/module.build
index 98ee2b8d..d2c3f8a0 100644
--- a/remote/modules/vmware/module.build
+++ b/remote/modules/vmware/module.build
@@ -35,9 +35,9 @@ build() {
chroot_run "${MODULE_BUILD_DIR}" <<-EOF
# PS1='\[\e[1;33m\](chroot) \u@\h:\w\$ \[\e[1;32m\]' /bin/bash -norc # un-comment for debugging within chroot
$DELETE_FILES
- yes | sh /"${VMWARE_BUNDLE_FILE}" --eulas-agreed --console --required
- vmware-modconfig --console --build-mod -k "${SYS_UTS_RELEASE}" vmnet $(which gcc) "${KERNEL_HEADERS_PATH}/include" vmplayer vmnet
- vmware-modconfig --console --build-mod -k "${SYS_UTS_RELEASE}" vmmon $(which gcc) "${KERNEL_HEADERS_PATH}/include" vmplayer vmmon
+ yes | sh /"${VMWARE_BUNDLE_FILE}" --eulas-agreed --console --required || exit 1
+ vmware-modconfig --console --build-mod -k "${SYS_UTS_RELEASE}" vmnet $(which gcc) "${KERNEL_HEADERS_PATH}/include" vmplayer vmnet || exit 1
+ vmware-modconfig --console --build-mod -k "${SYS_UTS_RELEASE}" vmmon $(which gcc) "${KERNEL_HEADERS_PATH}/include" vmplayer vmmon || exit 1
# PS1='\[\e[1;33m\](chroot) \u@\h:\w\$ \[\e[1;32m\]' /bin/bash -norc # un-comment for debugging within chroot
EOF