summaryrefslogtreecommitdiffstats
path: root/core/modules/hardware-stats/module.build
blob: 994b515b0e4ccb744efebbfadbc45c1eabcd5b6b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
fetch_source() {
	:
}

build() {
	local dir="${MODULE_BUILD_DIR}/opt/openslx/system-check"
	mkdir -p "$dir"
	cde "$dir"
	local file
	for file in collect_hw_info_json.py dmiparser.py; do
		wget -O "$file" "https://git.openslx.org/openslx-ng/systemd-init.git/plain/modules.d/bas-hw-collect/scripts/${file}?h=bas" \
			|| perror "Could not download $file"
	done
}

post_copy() {
	:
}