summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/conf/distro/include/maintainers.inc2
-rw-r--r--meta/recipes-extended/stress-ng/stress-ng/0001-Do-not-preserve-ownership-when-installing-example-jo.patch23
-rw-r--r--meta/recipes-extended/stress-ng/stress-ng_0.10.00.bb20
-rw-r--r--meta/recipes-extended/stress/files/texinfo.patch80
-rw-r--r--meta/recipes-extended/stress/stress_1.0.4.bb15
-rwxr-xr-xmeta/recipes-rt/rt-tests/files/rt_bmark.py2
-rw-r--r--meta/recipes-rt/rt-tests/rt-tests_1.1.bb2
7 files changed, 46 insertions, 98 deletions
diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index 3d5ab9dcd6..77af8b6dad 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -661,7 +661,7 @@ RECIPE_MAINTAINER_pn-sqlite3 = "Anuj Mittal <anuj.mittal@intel.com>"
661RECIPE_MAINTAINER_pn-squashfs-tools = "Robert Yang <liezhi.yang@windriver.com>" 661RECIPE_MAINTAINER_pn-squashfs-tools = "Robert Yang <liezhi.yang@windriver.com>"
662RECIPE_MAINTAINER_pn-startup-notification = "Alexander Kanavin <alex.kanavin@gmail.com>" 662RECIPE_MAINTAINER_pn-startup-notification = "Alexander Kanavin <alex.kanavin@gmail.com>"
663RECIPE_MAINTAINER_pn-strace = "Robert Yang <liezhi.yang@windriver.com>" 663RECIPE_MAINTAINER_pn-strace = "Robert Yang <liezhi.yang@windriver.com>"
664RECIPE_MAINTAINER_pn-stress = "Anuj Mittal <anuj.mittal@intel.com>" 664RECIPE_MAINTAINER_pn-stress-ng = "Anuj Mittal <anuj.mittal@intel.com>"
665RECIPE_MAINTAINER_pn-subversion = "Richard Purdie <richard.purdie@linuxfoundation.org>" 665RECIPE_MAINTAINER_pn-subversion = "Richard Purdie <richard.purdie@linuxfoundation.org>"
666RECIPE_MAINTAINER_pn-sudo = "Chen Qi <Qi.Chen@windriver.com>" 666RECIPE_MAINTAINER_pn-sudo = "Chen Qi <Qi.Chen@windriver.com>"
667RECIPE_MAINTAINER_pn-swig = "Anuj Mittal <anuj.mittal@intel.com>" 667RECIPE_MAINTAINER_pn-swig = "Anuj Mittal <anuj.mittal@intel.com>"
diff --git a/meta/recipes-extended/stress-ng/stress-ng/0001-Do-not-preserve-ownership-when-installing-example-jo.patch b/meta/recipes-extended/stress-ng/stress-ng/0001-Do-not-preserve-ownership-when-installing-example-jo.patch
new file mode 100644
index 0000000000..c860c717ac
--- /dev/null
+++ b/meta/recipes-extended/stress-ng/stress-ng/0001-Do-not-preserve-ownership-when-installing-example-jo.patch
@@ -0,0 +1,23 @@
1From bbc85a439672120fa1d36be79e959b28fe840919 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 30 Jul 2019 18:38:03 +0200
4Subject: [PATCH] Do not preserve ownership when installing example jobs
5
6Upstream-Status: Pending
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8---
9 Makefile | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/Makefile b/Makefile
13index f36e57e..20488af 100644
14--- a/Makefile
15+++ b/Makefile
16@@ -452,6 +452,6 @@ install: stress-ng stress-ng.1.gz
17 mkdir -p ${DESTDIR}${MANDIR}
18 cp stress-ng.1.gz ${DESTDIR}${MANDIR}
19 mkdir -p ${DESTDIR}${JOBDIR}
20- cp -rp example-jobs/*.job ${DESTDIR}${JOBDIR}
21+ cp -r example-jobs/*.job ${DESTDIR}${JOBDIR}
22 mkdir -p ${DESTDIR}${BASHDIR}
23 cp bash-completion/stress-ng ${DESTDIR}${BASHDIR}
diff --git a/meta/recipes-extended/stress-ng/stress-ng_0.10.00.bb b/meta/recipes-extended/stress-ng/stress-ng_0.10.00.bb
new file mode 100644
index 0000000000..f7faf97e68
--- /dev/null
+++ b/meta/recipes-extended/stress-ng/stress-ng_0.10.00.bb
@@ -0,0 +1,20 @@
1SUMMARY = "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 \
10 "
11SRC_URI[md5sum] = "46aa41d37690324ceab4febfcc549018"
12SRC_URI[sha256sum] = "d09dd2a1aea549e478995bf9be90b38906a4cdf33ea7b245ef9d46aa5213c074"
13
14DEPENDS = "coreutils-native"
15
16inherit bash-completion
17
18do_install() {
19 oe_runmake DESTDIR=${D} install
20}
diff --git a/meta/recipes-extended/stress/files/texinfo.patch b/meta/recipes-extended/stress/files/texinfo.patch
deleted file mode 100644
index f23a1f69c4..0000000000
--- a/meta/recipes-extended/stress/files/texinfo.patch
+++ /dev/null
@@ -1,80 +0,0 @@
1Upstream-Status: Pending
2--- a/doc/stress.texi
3+++ b/doc/stress.texi
4@@ -62,47 +62,47 @@
5
6 @table @samp
7 @item -?
8-@itemx --help
9+@item --help
10 Show help information.
11
12-@itemx --version
13+@item --version
14 Show version information.
15
16 @item -v
17-@itemx --verbose
18+@item --verbose
19 Turn up verbosity.
20
21 @item -q
22-@itemx --quiet
23+@item --quiet
24 Turn down verbosity.
25
26 @item -n
27-@itemx --dry-run
28+@item --dry-run
29 Show what would have been done.
30
31 @item -t @var{secs}
32-@itemx --timeout @var{secs}
33+@item --timeout @var{secs}
34 Time out after @var{secs} seconds.
35
36-@itemx --backoff @var{usecs}
37+@item --backoff @var{usecs}
38 Wait for factor of @var{usecs} microseconds before starting work.
39
40 @item -c @var{forks}
41-@itemx --cpu @var{forks}
42+@item --cpu @var{forks}
43 Spawn @var{forks} processes each spinning on @samp{sqrt()}.
44
45 @item -i @var{forks}
46-@itemx --io @var{forks}
47+@item --io @var{forks}
48 Spawn @var{forks} processes each spinning on @samp{sync()}.
49
50 @item -m @var{forks}
51-@itemx --vm @var{forks}
52+@item --vm @var{forks}
53 Spawn @var{forks} processes each spinning on @samp{malloc()}.
54
55-@itemx --vm-bytes @var{bytes}
56+@item --vm-bytes @var{bytes}
57 Allocate @var{bytes} number of bytes. The default is 1.
58
59-@itemx --vm-hang
60+@item --vm-hang
61 Instruct each vm hog process to go to sleep after allocating memory. This
62 contrasts with their normal behavior, which is to free the memory and
63 reallocate @emph{ad infinitum}. This is useful for simulating low memory
64@@ -114,13 +114,13 @@
65 @end example
66
67 @item -d @var{forks}
68-@itemx --hdd @var{forks}
69+@item --hdd @var{forks}
70 Spawn @var{forks} processes each spinning on @samp{write()}.
71
72-@itemx --hdd-bytes @var{bytes}
73+@item --hdd-bytes @var{bytes}
74 Write @var{bytes} number of bytes. The default is 1GB.
75
76-@itemx --hdd-noclean
77+@item --hdd-noclean
78 Do not unlink file(s) to which random ASCII data is written.
79
80 @end table
diff --git a/meta/recipes-extended/stress/stress_1.0.4.bb b/meta/recipes-extended/stress/stress_1.0.4.bb
deleted file mode 100644
index e9179d3e19..0000000000
--- a/meta/recipes-extended/stress/stress_1.0.4.bb
+++ /dev/null
@@ -1,15 +0,0 @@
1SUMMARY = "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 = "http://people.seas.harvard.edu/~apw/stress/"
5LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
7
8SRC_URI = "http://people.seas.harvard.edu/~apw/${BPN}/${BP}.tar.gz \
9 file://texinfo.patch \
10 "
11
12SRC_URI[md5sum] = "890a4236dd1656792f3ef9a190cf99ef"
13SRC_URI[sha256sum] = "057e4fc2a7706411e1014bf172e4f94b63a12f18412378fca8684ca92408825b"
14
15inherit autotools
diff --git a/meta/recipes-rt/rt-tests/files/rt_bmark.py b/meta/recipes-rt/rt-tests/files/rt_bmark.py
index 080a655893..57b39b52a1 100755
--- a/meta/recipes-rt/rt-tests/files/rt_bmark.py
+++ b/meta/recipes-rt/rt-tests/files/rt_bmark.py
@@ -130,7 +130,7 @@ def log_test_header(seq_no, nr_of_tests, name):
130#------------------------------------------------------------------------------- 130#-------------------------------------------------------------------------------
131 131
132def start_stress(*args): 132def start_stress(*args):
133 stress_cmd = [ "stress" ] 133 stress_cmd = [ "stress-ng" ]
134 added_stress_types = [] 134 added_stress_types = []
135 req_stress_types = set(args) 135 req_stress_types = set(args)
136 cpu_cnt = str(multiprocessing.cpu_count()) 136 cpu_cnt = str(multiprocessing.cpu_count())
diff --git a/meta/recipes-rt/rt-tests/rt-tests_1.1.bb b/meta/recipes-rt/rt-tests/rt-tests_1.1.bb
index 496f04fdba..b673cd784f 100644
--- a/meta/recipes-rt/rt-tests/rt-tests_1.1.bb
+++ b/meta/recipes-rt/rt-tests/rt-tests_1.1.bb
@@ -26,6 +26,6 @@ do_install_ptest() {
26 cp ${WORKDIR}/rt_bmark.py ${D}${PTEST_PATH} 26 cp ${WORKDIR}/rt_bmark.py ${D}${PTEST_PATH}
27} 27}
28 28
29RDEPENDS_${PN}-ptest += " stress python3 python3-multiprocessing python3-datetime python3-misc" 29RDEPENDS_${PN}-ptest += " stress-ng python3 python3-multiprocessing python3-datetime python3-misc"
30 30
31FILES_${PN} += "${prefix}/src/backfire" 31FILES_${PN} += "${prefix}/src/backfire"