[PATCH openbmc 05/20] Add PROVIDES to all provider classes
OpenBMC Patches
patches at stwcx.xyz
Wed Oct 21 06:19:43 AEDT 2015
From: Brad Bishop <bradleyb at us.ibm.com>
When multiple recipes provide a package PREFERRED_PROVIDER
is used to pick one. However bitbake doesn't look at
RPROVIDES when it figures this out.
---
meta-phosphor/classes/obmc-phosphor-chassis-mgmt.bbclass | 1 +
meta-phosphor/classes/obmc-phosphor-event-mgmt.bbclass | 1 +
meta-phosphor/classes/obmc-phosphor-fan-mgmt.bbclass | 1 +
meta-phosphor/classes/obmc-phosphor-flash-mgmt.bbclass | 1 +
meta-phosphor/classes/obmc-phosphor-policy-mgmt.bbclass | 1 +
meta-phosphor/classes/obmc-phosphor-sensor-mgmt.bbclass | 1 +
meta-phosphor/classes/obmc-phosphor-system-mgmt.bbclass | 1 +
7 files changed, 7 insertions(+)
diff --git a/meta-phosphor/classes/obmc-phosphor-chassis-mgmt.bbclass b/meta-phosphor/classes/obmc-phosphor-chassis-mgmt.bbclass
index 377da0a..edf18c0 100644
--- a/meta-phosphor/classes/obmc-phosphor-chassis-mgmt.bbclass
+++ b/meta-phosphor/classes/obmc-phosphor-chassis-mgmt.bbclass
@@ -1,3 +1,4 @@
# Common code for recipes that implement Phosphor OpenBMC chassis management.
RPROVIDES_${PN} += "virtual/obmc-phosphor-chassis-mgmt"
+PROVIDES += "virtual/obmc-phosphor-chassis-mgmt"
diff --git a/meta-phosphor/classes/obmc-phosphor-event-mgmt.bbclass b/meta-phosphor/classes/obmc-phosphor-event-mgmt.bbclass
index 01f2edf..afab38f 100644
--- a/meta-phosphor/classes/obmc-phosphor-event-mgmt.bbclass
+++ b/meta-phosphor/classes/obmc-phosphor-event-mgmt.bbclass
@@ -1,3 +1,4 @@
# Common code for recipes that implement Phosphor OpenBMC event management.
RPROVIDES_${PN} += "virtual/obmc-phosphor-event-mgmt"
+PROVIDES += "virtual/obmc-phosphor-event-mgmt"
diff --git a/meta-phosphor/classes/obmc-phosphor-fan-mgmt.bbclass b/meta-phosphor/classes/obmc-phosphor-fan-mgmt.bbclass
index 973376d..2e64773 100644
--- a/meta-phosphor/classes/obmc-phosphor-fan-mgmt.bbclass
+++ b/meta-phosphor/classes/obmc-phosphor-fan-mgmt.bbclass
@@ -1,3 +1,4 @@
# Common code for recipes that implement Phosphor OpenBMC fan management.
RPROVIDES_${PN} += "virtual/obmc-phosphor-fan-mgmt"
+PROVIDES += "virtual/obmc-phosphor-fan-mgmt"
diff --git a/meta-phosphor/classes/obmc-phosphor-flash-mgmt.bbclass b/meta-phosphor/classes/obmc-phosphor-flash-mgmt.bbclass
index d166949..4898c20 100644
--- a/meta-phosphor/classes/obmc-phosphor-flash-mgmt.bbclass
+++ b/meta-phosphor/classes/obmc-phosphor-flash-mgmt.bbclass
@@ -1,3 +1,4 @@
# Common code for recipes that implement Phosphor OpenBMC flash management.
RPROVIDES_${PN} += "virtual/obmc-phosphor-flash-mgmt"
+PROVIDES += "virtual/obmc-phosphor-flash-mgmt"
diff --git a/meta-phosphor/classes/obmc-phosphor-policy-mgmt.bbclass b/meta-phosphor/classes/obmc-phosphor-policy-mgmt.bbclass
index 86e0cbe..35397b8 100644
--- a/meta-phosphor/classes/obmc-phosphor-policy-mgmt.bbclass
+++ b/meta-phosphor/classes/obmc-phosphor-policy-mgmt.bbclass
@@ -1,3 +1,4 @@
# Common code for recipes that implement Phosphor OpenBMC policy management.
RPROVIDES_${PN} += "virtual/obmc-phosphor-policy-mgmt"
+PROVIDES += "virtual/obmc-phosphor-policy-mgmt"
diff --git a/meta-phosphor/classes/obmc-phosphor-sensor-mgmt.bbclass b/meta-phosphor/classes/obmc-phosphor-sensor-mgmt.bbclass
index 9939386..0d9982e 100644
--- a/meta-phosphor/classes/obmc-phosphor-sensor-mgmt.bbclass
+++ b/meta-phosphor/classes/obmc-phosphor-sensor-mgmt.bbclass
@@ -1,3 +1,4 @@
# Common code for recipes that implement Phosphor OpenBMC sensor management.
RPROVIDES_${PN} += "virtual/obmc-phosphor-sensor-mgmt"
+PROVIDES += "virtual/obmc-phosphor-sensor-mgmt"
diff --git a/meta-phosphor/classes/obmc-phosphor-system-mgmt.bbclass b/meta-phosphor/classes/obmc-phosphor-system-mgmt.bbclass
index 4939d2f..07c89c4 100644
--- a/meta-phosphor/classes/obmc-phosphor-system-mgmt.bbclass
+++ b/meta-phosphor/classes/obmc-phosphor-system-mgmt.bbclass
@@ -1,3 +1,4 @@
# Common code for recipes that implement Phosphor OpenBMC system management.
RPROVIDES_${PN} += "virtual/obmc-phosphor-system-mgmt"
+PROVIDES += "virtual/obmc-phosphor-system-mgmt"
--
2.6.0
More information about the openbmc
mailing list