blob: 000a640917c7945006e6ad99ac6c5d122458ec69 [file] [log] [blame]
Andrew Geissler9aee5002022-03-30 16:27:02 +00001SUMMARY = "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://github.com/ColinIanKing/stress-ng#readme"
5LICENSE = "GPL-2.0-only"
6LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
7
Andrew Geisslerd5838332022-05-27 11:33:10 -05008SRC_URI = "git://github.com/ColinIanKing/stress-ng.git;protocol=https;branch=master"
Andrew Geissler615f2f12022-07-15 14:00:58 -05009SRCREV = "5239ae6c82bfb239637b5a66cd39a035a158e641"
Andrew Geissler9aee5002022-03-30 16:27:02 +000010S = "${WORKDIR}/git"
11
12DEPENDS = "coreutils-native"
13
14PROVIDES = "stress"
15RPROVIDES:${PN} = "stress"
16RREPLACES:${PN} = "stress"
17RCONFLICTS:${PN} = "stress"
18
19inherit bash-completion
20
Andrew Geisslerd5838332022-05-27 11:33:10 -050021do_compile:prepend() {
Patrick Williams03907ee2022-05-01 06:28:52 -050022 mkdir -p configs
23 touch configs/HAVE_APPARMOR
24}
25
Andrew Geissler9aee5002022-03-30 16:27:02 +000026do_install() {
27 oe_runmake DESTDIR=${D} install
28 ln -s stress-ng ${D}${bindir}/stress
29}