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

Mikko Rapeli mikko.rapeli at bmw.de
Wed Aug 14 15:15:54 UTC 2019


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 | 5 +++++
 1 file changed, 5 insertions(+)

v2: added RCONFLICTS and RREPLACES, removed -dev package since it's actually empty,
    decided not to add transition support for stress-ng-bashcompletion because
    I don't need it

v1: http://lists.openembedded.org/pipermail/openembedded-core/2019-August/285724.html

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..7d194b3 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,11 @@ SRC_URI[sha256sum] = "d09dd2a1aea549e478995bf9be90b38906a4cdf33ea7b245ef9d46aa52
 
 DEPENDS = "coreutils-native"
 
+PROVIDES = "stress"
+RPROVIDES_${PN} = "stress"
+RREPLACES_${PN} = "stress"
+RCONFLICTS_${PN} = "stress"
+
 inherit bash-completion
 
 do_install() {
-- 
1.9.1



More information about the Openembedded-core mailing list