Hi Dan On 7/22/20 9:31 PM, Dan Callaghan wrote: > 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 > --- > 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 there is stress recipe in some layers which could provide stress utility as well, therefore it should be using update-alternatives mechanism so it fills in when stress is not provided by say stress recipe. secondly please use ${D}${bindir}/stress instead of hardcoding the path > } > > > > >