diff options
author | Wang Mingyu <wangmy@cn.fujitsu.com> | 2021-03-04 08:29:53 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-03-06 22:36:34 +0000 |
commit | f2e1ea8df71d9ac312bc9f7c341477c8fc7c3923 (patch) | |
tree | 8ac448b8ef8496a623c218b7cc67b611cd8211b1 /meta/recipes-extended/stress-ng/stress-ng_0.12.04.bb | |
parent | bdcf0bf7b482f145ac61d35c0d74450c54bb8d11 (diff) | |
download | openembedded-core-contrib-f2e1ea8df71d9ac312bc9f7c341477c8fc7c3923.tar.gz |
stress-ng: upgrade 0.12.03 -> 0.12.04
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 @@ +SUMMARY = "System load testing utility" +DESCRIPTION = "Deliberately simple workload generator for POSIX systems. It \ +imposes a configurable amount of CPU, memory, I/O, and disk stress on the system." +HOMEPAGE = "https://kernel.ubuntu.com/~cking/stress-ng/" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +SRC_URI = "https://kernel.ubuntu.com/~cking/tarballs/${BPN}/${BP}.tar.xz \ + file://0001-Do-not-preserve-ownership-when-installing-example-jo.patch \ + file://no_daddr_t.patch \ + " +SRC_URI[sha256sum] = "b4e34bda8db4ed37e33b7a861bc06ad77cbbd234d63236da2cb58f02e3f3218e" + +DEPENDS = "coreutils-native" + +PROVIDES = "stress" +RPROVIDES_${PN} = "stress" +RREPLACES_${PN} = "stress" +RCONFLICTS_${PN} = "stress" + +inherit bash-completion + +do_install() { + oe_runmake DESTDIR=${D} install + ln -s stress-ng ${D}${bindir}/stress +} + |