diff options
Diffstat (limited to 'meta/recipes-extended/stress-ng/stress-ng_0.12.04.bb')
| -rw-r--r-- | meta/recipes-extended/stress-ng/stress-ng_0.12.04.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-extended/stress-ng/stress-ng_0.12.04.bb b/meta/recipes-extended/stress-ng/stress-ng_0.12.04.bb new file mode 100644 index 0000000000..28887204d9 --- /dev/null +++ b/meta/recipes-extended/stress-ng/stress-ng_0.12.04.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] = "b4e34bda8db4ed37e33b7a861bc06ad77cbbd234d63236da2cb58f02e3f3218e" | ||
| 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 | |||
