summaryrefslogblamecommitdiffstats
path: root/core/modules/libvirt/module.build
blob: 2e2f8e1283c0957a6c9020a32db67cc8e5feabc8 (plain) (tree)
1
2
3
4
5
6
7
8
9






                                   

                                                



                                                                      




                                                           
 
#!/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() {
	#
	# remove default network configuration
	#
	rm /etc/libvirt/qemu/networks/default.xml
	rm /etc/libvirt/qemu/networks/autostart/default.xml
}