blob: 5889569e507737db540846e1572348f49f2348d7 [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."
Andrew Geisslereff27472021-10-29 15:35:00 -05004HOMEPAGE = "https://github.com/ColinIanKing/stress-ng#readme"
Andrew Geissler82c905d2020-04-13 13:39:40 -05005LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
7
Andrew Geisslereff27472021-10-29 15:35:00 -05008SRC_URI = "git://github.com/ColinIanKing/stress-ng.git;protocol=https \
Andrew Geissler82c905d2020-04-13 13:39:40 -05009 file://0001-Do-not-preserve-ownership-when-installing-example-jo.patch \
Andrew Geisslereff27472021-10-29 15:35:00 -050010 file://0001-Makefile-do-not-write-the-timestamp-into-compressed-.patch \
Andrew Geissler82c905d2020-04-13 13:39:40 -050011 "
Andrew Geisslereff27472021-10-29 15:35:00 -050012SRCREV = "61b454b4a3a9d052e63c78a9574ccf8a650575dc"
13S = "${WORKDIR}/git"
Andrew Geissler82c905d2020-04-13 13:39:40 -050014
15DEPENDS = "coreutils-native"
16
17PROVIDES = "stress"
Patrick Williams213cb262021-08-07 19:21:33 -050018RPROVIDES:${PN} = "stress"
19RREPLACES:${PN} = "stress"
20RCONFLICTS:${PN} = "stress"
Andrew Geissler82c905d2020-04-13 13:39:40 -050021
22inherit bash-completion
23
24do_install() {
25 oe_runmake DESTDIR=${D} install
Andrew Geissler635e0e42020-08-21 15:58:33 -050026 ln -s stress-ng ${D}${bindir}/stress
Andrew Geissler82c905d2020-04-13 13:39:40 -050027}