summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/stress-ng/stress-ng
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2019-07-30 18:47:42 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-31 23:03:01 +0100
commit23e9a8835e5b756ce91c7cdf924fdc45778cdb41 (patch)
treedd9d5b6c4fd958df9c94419659c2bbe2a7f802a6 /meta/recipes-extended/stress-ng/stress-ng
parentfc0c93a62eff08876f8f6b701e3a221ace2fc767 (diff)
downloadpoky-23e9a8835e5b756ce91c7cdf924fdc45778cdb41.tar.gz
stress-ng: add a recipe that replaces the original stress
The original stress is no longer maintained and the homepage went down. This commit replaces it with a maintained re-implementation by Ubuntu. Stress-ng preserves command line option compatibility (for the options that are used in rt-tests), so adjustment is simply changing the name of the executable. Rt-tests is the only user of stress(-ng) in oe-core. (From OE-Core rev: 3fcc10aeba208381166f09861d098d6459d44dfe) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/stress-ng/stress-ng')
-rw-r--r--meta/recipes-extended/stress-ng/stress-ng/0001-Do-not-preserve-ownership-when-installing-example-jo.patch23
1 files changed, 23 insertions, 0 deletions
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}