diff options
author | Simon Rettberg | 2022-07-14 14:19:21 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-07-14 14:19:21 +0200 |
commit | 67f2676b02202d28303e9c8cf35a869d3f9c2761 (patch) | |
tree | a43ac9b53d77898cd646f171c2b0ecfb6cff0ac4 /core | |
parent | [busybox] We need cmp now (diff) | |
download | mltk-67f2676b02202d28303e9c8cf35a869d3f9c2761.tar.gz mltk-67f2676b02202d28303e9c8cf35a869d3f9c2761.tar.xz mltk-67f2676b02202d28303e9c8cf35a869d3f9c2761.zip |
[vmware16] Add USB patcher
Diffstat (limited to 'core')
-rw-r--r-- | core/modules/vmware16/module.build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/modules/vmware16/module.build b/core/modules/vmware16/module.build index c6626de0..96045023 100644 --- a/core/modules/vmware16/module.build +++ b/core/modules/vmware16/module.build @@ -183,6 +183,11 @@ build() { # /usr/lib/vmware-ovftool/vmware.eula # If it cannot open these files (as we deleted them) it will crash with a SIGABRT (signal 6) # coming from an uncaught exeception in libglibmm's file_get_contents + # Patch vmware-vmx to always enable USB autoconnect for VMs + if [[ "${OFFICIAL_VERSION}" = 16.2.* ]]; then + gcc -o "${MODULE_WORK_DIR}/patsch" "${MODULE_DIR}/usb-patch.c" || perror "USB patscher build failed" + "${MODULE_WORK_DIR}/patsch" "${MODULE_BUILD_DIR}/usr/lib/vmware/bin/vmware-vmx" || perror "Patsching vmware-vmx failed" + fi } post_copy() { |