diff options
| author | Jonathan Bauer | 2014-04-17 12:43:37 +0200 |
|---|---|---|
| committer | Jonathan Bauer | 2014-04-17 12:43:37 +0200 |
| commit | 94626bc51759e130b1d2a6235f00f7633737738b (patch) | |
| tree | c2c5133d1ecc327a108629746730493fa590e722 /remote/modules/vmware/module.build | |
| parent | Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff) | |
| download | tm-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/module.build')
| -rw-r--r-- | remote/modules/vmware/module.build | 6 |
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 |
