summaryrefslogtreecommitdiffstats
path: root/remote/modules/run-virt/module.build
blob: e9b0d5818ae19818be08d50d1045a0c6a36eb01a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

fetch_source () {
	:
}

build () {
	local COPYLIST="list_dpkg_output"
	rm -f -- "$COPYLIST"
	list_packet_files > "$COPYLIST"
	tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}"
	# Compile pwdaemon
	mkdir -p "${MODULE_BUILD_DIR}/opt/openslx/bin"
	gcc -std=gnu99 -o "${MODULE_BUILD_DIR}/opt/openslx/bin/pwdaemon" -Os "${MODULE_DIR}/pw_daemon.c" || perror "Could not compile the pwdaemon"
}

post_copy() {
	:
}