summaryrefslogtreecommitdiffstats
path: root/core/modules/qemu/module.build
diff options
context:
space:
mode:
authorManuel Bentele2021-02-02 10:42:07 +0100
committerManuel Bentele2021-02-02 10:42:07 +0100
commiteaeb75d858f45447c4b3d17f33b6183f95b98466 (patch)
tree6846441981fa5fd43b24b3e973d38144d92f578e /core/modules/qemu/module.build
parent[hardware-stats] Add ID45 to status updates (diff)
downloadmltk-eaeb75d858f45447c4b3d17f33b6183f95b98466.tar.gz
mltk-eaeb75d858f45447c4b3d17f33b6183f95b98466.tar.xz
mltk-eaeb75d858f45447c4b3d17f33b6183f95b98466.zip
[qemu] Rename 'qemukvm' core module to 'qemu'
Diffstat (limited to 'core/modules/qemu/module.build')
-rw-r--r--core/modules/qemu/module.build18
1 files changed, 18 insertions, 0 deletions
diff --git a/core/modules/qemu/module.build b/core/modules/qemu/module.build
new file mode 100644
index 00000000..f2a0df9e
--- /dev/null
+++ b/core/modules/qemu/module.build
@@ -0,0 +1,18 @@
+#!/bin/bash
+fetch_source() {
+ :
+}
+
+build() {
+ COPYLIST="list_dpkg_output"
+ [ -e "$COPYLIST" ] && rm "$COPYLIST"
+ list_packet_files >> "$COPYLIST"
+
+
+ tarcopy "$(cat "${COPYLIST}" | sort -u)" "${MODULE_BUILD_DIR}"
+}
+
+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 {} \;
+}