All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] stress-ng: create a symlink for /usr/bin/stress
@ 2020-07-23  4:31 Dan Callaghan
  2020-07-23  6:09 ` [OE-core] " Khem Raj
  2020-07-23  8:50 ` [PATCH v2] " Dan Callaghan
  0 siblings, 2 replies; 5+ messages in thread
From: Dan Callaghan @ 2020-07-23  4:31 UTC (permalink / raw)
  To: openembedded-core; +Cc: Dan Callaghan

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>
---
 meta/recipes-extended/stress-ng/stress-ng_0.11.15.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-extended/stress-ng/stress-ng_0.11.15.bb b/meta/recipes-extended/stress-ng/stress-ng_0.11.15.bb
index 8ea0476db5..dcded1120d 100644
--- a/meta/recipes-extended/stress-ng/stress-ng_0.11.15.bb
+++ b/meta/recipes-extended/stress-ng/stress-ng_0.11.15.bb
@@ -22,5 +22,6 @@ inherit bash-completion
 
 do_install() {
     oe_runmake DESTDIR=${D} install
+    ln -s stress-ng ${D}/usr/bin/stress
 }
 
-- 
2.25.4


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-07-23  8:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-23  4:31 [PATCH] stress-ng: create a symlink for /usr/bin/stress Dan Callaghan
2020-07-23  6:09 ` [OE-core] " Khem Raj
2020-07-23  8:06   ` Dan Callaghan
2020-07-23  8:31     ` Khem Raj
2020-07-23  8:50 ` [PATCH v2] " Dan Callaghan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.