blob: c668d8cbdec72cca8bbeb6f8579d70506ebfb44e [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "System load testing utility"
2DESCRIPTION = "Deliberately simple workload generator for POSIX systems. It \
3imposes a configurable amount of CPU, memory, I/O, and disk stress on the system."
4HOMEPAGE = "https://kernel.ubuntu.com/~cking/stress-ng/"
5LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
7
8SRC_URI = "https://kernel.ubuntu.com/~cking/tarballs/${BPN}/${BP}.tar.xz \
9 file://0001-Do-not-preserve-ownership-when-installing-example-jo.patch \
Andrew Geissler5a43b432020-06-13 10:46:56 -050010 file://no_daddr_t.patch \
Andrew Geissler82c905d2020-04-13 13:39:40 -050011 "
Andrew Geissler635e0e42020-08-21 15:58:33 -050012SRC_URI[sha256sum] = "07c82a5c89538b5b696a79192faa70d0232352004c9e532946f7f3613d0adf23"
Andrew Geissler82c905d2020-04-13 13:39:40 -050013
14DEPENDS = "coreutils-native"
15
16PROVIDES = "stress"
17RPROVIDES_${PN} = "stress"
18RREPLACES_${PN} = "stress"
19RCONFLICTS_${PN} = "stress"
20
21inherit bash-completion
22
23do_install() {
24 oe_runmake DESTDIR=${D} install
Andrew Geissler635e0e42020-08-21 15:58:33 -050025 ln -s stress-ng ${D}${bindir}/stress
Andrew Geissler82c905d2020-04-13 13:39:40 -050026}
Andrew Geissler4ed12e12020-06-05 18:00:41 -050027