diff options
author | Jonathan Bauer | 2017-08-17 18:24:15 +0200 |
---|---|---|
committer | Jonathan Bauer | 2017-08-17 18:24:15 +0200 |
commit | 27a332dfaa2b97ea3c9b9144c2280087879c09f2 (patch) | |
tree | 577b4210420a7e66da0298ea1aede0074b415056 /core/modules/qemukvm | |
parent | [qemukvm] added TODO about missing kernel module (diff) | |
download | mltk-27a332dfaa2b97ea3c9b9144c2280087879c09f2.tar.gz mltk-27a332dfaa2b97ea3c9b9144c2280087879c09f2.tar.xz mltk-27a332dfaa2b97ea3c9b9144c2280087879c09f2.zip |
[qemukvm] copy missing irqbypass.ko
Diffstat (limited to 'core/modules/qemukvm')
-rw-r--r-- | core/modules/qemukvm/module.build | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/modules/qemukvm/module.build b/core/modules/qemukvm/module.build index cafcbb6b..180b8841 100644 --- a/core/modules/qemukvm/module.build +++ b/core/modules/qemukvm/module.build @@ -11,9 +11,13 @@ build() { tarcopy "$(cat "${COPYLIST}" | sort -u)" "${MODULE_BUILD_DIR}" - # FIXME get kernel/virt kernel module dir for irqbypass + # add kernel modules + cd "${KERNEL_BASE_DIR}" + tarcopy "lib/modules/${TARGET_KERNEL_LONG}/kernel/virt" "${MODULE_BUILD_DIR}" + cd - &>/dev/null } post_copy() { + # qemu-bridge-helper needs suid to be called within run-virt find ${TARGET_BUILD_DIR} -type f -executable -name "*qemu-bridge-helper*" -exec chmod u+s {} \; } |