summaryrefslogtreecommitdiffstats
path: root/core/modules/vbox-src/module.build
diff options
context:
space:
mode:
authorJonathan Bauer2018-04-20 17:34:44 +0200
committerJonathan Bauer2018-04-20 17:34:44 +0200
commit0916e3a2de5d99e009907c603d33ce8f28410254 (patch)
tree7e5a7683b1868180aafe206b2d2123fb2796a3b7 /core/modules/vbox-src/module.build
parent[safe-mode] disable screen standby the right way (diff)
downloadmltk-0916e3a2de5d99e009907c603d33ce8f28410254.tar.gz
mltk-0916e3a2de5d99e009907c603d33ce8f28410254.tar.xz
mltk-0916e3a2de5d99e009907c603d33ce8f28410254.zip
[vbox-src] get vdi uuid with od
Using vboxmanage would cause VBoxXPCOMIPCD and VBoxSVC to get started and thus required to be killed before starting the VM (as the VM's config file and "global" virtualbox.xml were not yet generated leading to vboxmanage to not know about the machine uuid we wanted to start).
Diffstat (limited to 'core/modules/vbox-src/module.build')
-rw-r--r--core/modules/vbox-src/module.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/modules/vbox-src/module.build b/core/modules/vbox-src/module.build
index 9660302f..36417f9e 100644
--- a/core/modules/vbox-src/module.build
+++ b/core/modules/vbox-src/module.build
@@ -81,6 +81,12 @@ build() {
perror "Failed to cp '${MODULE_WORK_DIR}/extpack' to '${VBOX_EXTPACK_DIR}'."
chown -R root:root "${VBOX_EXTPACK_DIR}" || \
perror "Failed to chown '${VBOX_EXTPACK_DIR}' to root:root."
+
+ # od binary
+ local OD_BIN="$(which od 2>/dev/null)"
+ if [ -n "$OD_BIN" -a -e "$OD_BIN" ]; then
+ tarcopy "$OD_BIN" "$MODULE_BUILD_DIR"
+ fi
}
post_copy() {