summaryrefslogtreecommitdiffstats
path: root/remote/modules/run-virt/module.build
diff options
context:
space:
mode:
authorSimon Rettberg2016-02-24 11:53:16 +0100
committerSimon Rettberg2016-02-24 11:53:16 +0100
commitc09edd06d2db7a787c0c35b879b6bc1eeea424d5 (patch)
treeb416e72a6ae6155cf1ec3b8d372d95f7ef75b619 /remote/modules/run-virt/module.build
parentMerge branch 'master' of git://git.openslx.org/openslx-ng/tm-scripts (diff)
downloadtm-scripts-c09edd06d2db7a787c0c35b879b6bc1eeea424d5.tar.gz
tm-scripts-c09edd06d2db7a787c0c35b879b6bc1eeea424d5.tar.xz
tm-scripts-c09edd06d2db7a787c0c35b879b6bc1eeea424d5.zip
[run-virt/vmware] Scan for usb devices that we should pass through before starting vm
Diffstat (limited to 'remote/modules/run-virt/module.build')
-rw-r--r--remote/modules/run-virt/module.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/remote/modules/run-virt/module.build b/remote/modules/run-virt/module.build
index ccb7c4e1..26762bca 100644
--- a/remote/modules/run-virt/module.build
+++ b/remote/modules/run-virt/module.build
@@ -4,7 +4,10 @@ fetch_source () {
}
build () {
- :
+ local COPYLIST="list_dpkg_output"
+ rm -f -- "$COPYLIST"
+ list_packet_files > "$COPYLIST"
+ tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}"
}
post_copy() {