]> code.ossystems Code Review - openembedded-core.git/commitdiff
stress-ng: create a symlink for /usr/bin/stress
authorDan Callaghan <dan.callaghan@opengear.com>
Thu, 23 Jul 2020 08:50:31 +0000 (18:50 +1000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 25 Jul 2020 14:11:00 +0000 (15:11 +0100)
In commit 72641004, stress-ng was made to provide the stress package,
because it's backwards compatible with the old stress command. But it
doesn't actually provide /usr/bin/stress which is what other recipes
depending on stress will expect.

Symlink /usr/bin/stress to stress-ng so that it actually becomes
a drop-in replacement for stress.

Signed-off-by: Dan Callaghan <dan.callaghan@opengear.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/stress-ng/stress-ng_0.11.15.bb

index 8ea0476db5abaa8de9f744bd1446917d0efbe072..28bf9884cf95ea0df1fafcaf17b91d5db508742e 100644 (file)
@@ -22,5 +22,6 @@ inherit bash-completion
 
 do_install() {
     oe_runmake DESTDIR=${D} install
+    ln -s stress-ng ${D}${bindir}/stress
 }