diff options
author | Simon Rettberg | 2018-04-05 18:12:35 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-04-05 18:12:35 +0200 |
commit | 11cde6b113112f2b139a413c7025d8900484c261 (patch) | |
tree | 580a8e8d81cba21ca8eba7a0401d6df552661114 | |
parent | [stage32-bwlp] Add kexec-reboot (diff) | |
download | mltk-11cde6b113112f2b139a413c7025d8900484c261.tar.gz mltk-11cde6b113112f2b139a413c7025d8900484c261.tar.xz mltk-11cde6b113112f2b139a413c7025d8900484c261.zip |
[iperf] New module
-rw-r--r-- | core/modules/iperf/module.build | 14 | ||||
-rw-r--r-- | core/modules/iperf/module.conf | 6 | ||||
-rw-r--r-- | core/modules/iperf/module.conf.ubuntu | 7 | ||||
l--------- | core/targets/stage32-bwlp/iperf | 1 |
4 files changed, 28 insertions, 0 deletions
diff --git a/core/modules/iperf/module.build b/core/modules/iperf/module.build new file mode 100644 index 00000000..5fa3a36f --- /dev/null +++ b/core/modules/iperf/module.build @@ -0,0 +1,14 @@ +#!/bin/bash +fetch_source() { + : +} + +build() { + COPYLIST="list_dpkg_output" + list_packet_files > "$COPYLIST" + tarcopy "$(cat "${COPYLIST}" | sort -u)" "${MODULE_BUILD_DIR}" +} + +post_copy() { + : +} diff --git a/core/modules/iperf/module.conf b/core/modules/iperf/module.conf new file mode 100644 index 00000000..3c9dd927 --- /dev/null +++ b/core/modules/iperf/module.conf @@ -0,0 +1,6 @@ +#!/bin/bash +REQUIRED_BINARIES=" + iperf +" +REQUIRED_LIBRARIES="" +REQUIRED_DIRECTORIES="" diff --git a/core/modules/iperf/module.conf.ubuntu b/core/modules/iperf/module.conf.ubuntu new file mode 100644 index 00000000..df1b6d51 --- /dev/null +++ b/core/modules/iperf/module.conf.ubuntu @@ -0,0 +1,7 @@ +#!/bin/bash +REQUIRED_CONTENT_PACKAGES=" + iperf +" +REQUIRED_INSTALLED_PACKAGES=" + iperf +" diff --git a/core/targets/stage32-bwlp/iperf b/core/targets/stage32-bwlp/iperf new file mode 120000 index 00000000..29aec282 --- /dev/null +++ b/core/targets/stage32-bwlp/iperf @@ -0,0 +1 @@ +../../modules/iperf
\ No newline at end of file |