Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 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://github.com/ColinIanKing/stress-ng#readme" |
| 5 | LICENSE = "GPL-2.0-only" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 7 | |
Andrew Geissler | d583833 | 2022-05-27 11:33:10 -0500 | [diff] [blame] | 8 | SRC_URI = "git://github.com/ColinIanKing/stress-ng.git;protocol=https;branch=master" |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 9 | SRCREV = "5239ae6c82bfb239637b5a66cd39a035a158e641" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 10 | S = "${WORKDIR}/git" |
| 11 | |
| 12 | DEPENDS = "coreutils-native" |
| 13 | |
| 14 | PROVIDES = "stress" |
| 15 | RPROVIDES:${PN} = "stress" |
| 16 | RREPLACES:${PN} = "stress" |
| 17 | RCONFLICTS:${PN} = "stress" |
| 18 | |
| 19 | inherit bash-completion |
| 20 | |
Andrew Geissler | d583833 | 2022-05-27 11:33:10 -0500 | [diff] [blame] | 21 | do_compile:prepend() { |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame] | 22 | mkdir -p configs |
| 23 | touch configs/HAVE_APPARMOR |
| 24 | } |
| 25 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 26 | do_install() { |
| 27 | oe_runmake DESTDIR=${D} install |
| 28 | ln -s stress-ng ${D}${bindir}/stress |
| 29 | } |