diff options
Diffstat (limited to 'meta/recipes-extended/stress-ng/stress-ng_0.11.21.bb')
| -rw-r--r-- | meta/recipes-extended/stress-ng/stress-ng_0.11.21.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-extended/stress-ng/stress-ng_0.11.21.bb b/meta/recipes-extended/stress-ng/stress-ng_0.11.21.bb new file mode 100644 index 0000000000..71671dd046 --- /dev/null +++ b/meta/recipes-extended/stress-ng/stress-ng_0.11.21.bb | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | SUMMARY = "System load testing utility" | ||
| 2 | DESCRIPTION = "Deliberately simple workload generator for POSIX systems. It \ | ||
| 3 | imposes a configurable amount of CPU, memory, I/O, and disk stress on the system." | ||
| 4 | HOMEPAGE = "https://kernel.ubuntu.com/~cking/stress-ng/" | ||
| 5 | LICENSE = "GPLv2" | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
| 7 | |||
| 8 | SRC_URI = "https://kernel.ubuntu.com/~cking/tarballs/${BPN}/${BP}.tar.xz \ | ||
| 9 | file://0001-Do-not-preserve-ownership-when-installing-example-jo.patch \ | ||
| 10 | file://no_daddr_t.patch \ | ||
| 11 | " | ||
| 12 | SRC_URI[sha256sum] = "ee44b71aba20e9c7d10ec4768efa2245d12579fa17e08b9314c17f06f785ae39" | ||
| 13 | |||
| 14 | DEPENDS = "coreutils-native" | ||
| 15 | |||
| 16 | PROVIDES = "stress" | ||
| 17 | RPROVIDES_${PN} = "stress" | ||
| 18 | RREPLACES_${PN} = "stress" | ||
| 19 | RCONFLICTS_${PN} = "stress" | ||
| 20 | |||
| 21 | inherit bash-completion | ||
| 22 | |||
| 23 | do_install() { | ||
| 24 | oe_runmake DESTDIR=${D} install | ||
| 25 | ln -s stress-ng ${D}${bindir}/stress | ||
| 26 | } | ||
| 27 | |||
