summaryrefslogtreecommitdiffstats
path: root/core/modules/hardware-stats/module.build
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/hardware-stats/module.build')
-rw-r--r--core/modules/hardware-stats/module.build9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/modules/hardware-stats/module.build b/core/modules/hardware-stats/module.build
index 3c6eb632..994b515b 100644
--- a/core/modules/hardware-stats/module.build
+++ b/core/modules/hardware-stats/module.build
@@ -4,7 +4,14 @@ 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() {