From c09edd06d2db7a787c0c35b879b6bc1eeea424d5 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 24 Feb 2016 11:53:16 +0100 Subject: [run-virt/vmware] Scan for usb devices that we should pass through before starting vm --- remote/modules/run-virt/module.build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'remote/modules/run-virt/module.build') 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() { -- cgit v1.2.3-55-g7522