summaryrefslogtreecommitdiffstats
path: root/remote/modules/run-virt/module.build
diff options
context:
space:
mode:
authorSimon Rettberg2016-03-04 16:25:59 +0100
committerSimon Rettberg2016-03-04 16:25:59 +0100
commit89e1f7912959ec9338022057dc8ee58c200c91c2 (patch)
treeb14f4f5e8788fc395d3d93ba4cd96d50579b3609 /remote/modules/run-virt/module.build
parent[run-virt] Add pw passing and share mounting mechanism for win vms (diff)
downloadtm-scripts-89e1f7912959ec9338022057dc8ee58c200c91c2.tar.gz
tm-scripts-89e1f7912959ec9338022057dc8ee58c200c91c2.tar.xz
tm-scripts-89e1f7912959ec9338022057dc8ee58c200c91c2.zip
[run-virt/vmware] Mount home directory in windows (first working version)
Diffstat (limited to 'remote/modules/run-virt/module.build')
-rw-r--r--remote/modules/run-virt/module.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/remote/modules/run-virt/module.build b/remote/modules/run-virt/module.build
index 26762bca..e9b0d581 100644
--- a/remote/modules/run-virt/module.build
+++ b/remote/modules/run-virt/module.build
@@ -8,6 +8,9 @@ build () {
rm -f -- "$COPYLIST"
list_packet_files > "$COPYLIST"
tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}"
+ # Compile pwdaemon
+ mkdir -p "${MODULE_BUILD_DIR}/opt/openslx/bin"
+ gcc -std=gnu99 -o "${MODULE_BUILD_DIR}/opt/openslx/bin/pwdaemon" -Os "${MODULE_DIR}/pw_daemon.c" || perror "Could not compile the pwdaemon"
}
post_copy() {