[OE-core] [PATCH] stress-ng: provide stress

Richard Purdie richard.purdie at linuxfoundation.org
Wed Aug 14 14:38:56 UTC 2019


On Wed, 2019-08-14 at 15:56 +0300, Mikko Rapeli wrote:
> Since stress-ng replaces and is compatible with stress,
> provide stress to be compatible with the old recipe
> and binary packages.
> 
> Signed-off-by: Mikko Rapeli <mikko.rapeli at bmw.de>
> ---
>  meta/recipes-extended/stress-ng/stress-ng_0.10.00.bb | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> 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
> index e800040..64e0928 100644
> --- a/meta/recipes-extended/stress-ng/stress-ng_0.10.00.bb
> +++ b/meta/recipes-extended/stress-ng/stress-ng_0.10.00.bb
> @@ -14,6 +14,10 @@ SRC_URI[sha256sum] =
> "d09dd2a1aea549e478995bf9be90b38906a4cdf33ea7b245ef9d46aa52
>  
>  DEPENDS = "coreutils-native"
>  
> +PROVIDES = "stress"
> +RPROVIDES_${PN} = "stress"
> +RPROVIDES_${PN}-dev = "stress-dev"
> +

Isn't that going to need RCONFLICTS and RREPLACES too?

Cheers,

Richard



More information about the Openembedded-core mailing list