obmc-targets moved to phosphor-state-manager
The systemd targets provided by obmc-targets have been moved to the
phosphor-state-manager repo.
Interestingly enough, this dependency is not needed to get things to
compile so there does not seem to be a co-req needed between this and
the change that moves the targets to phosphor-state-manager.
The target move is in the following commit:
https://gerrit.openbmc-project.xyz/c/openbmc/meta-phosphor/+/28444
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I225cea8c681f94c7874fb6e2d08d0c9e2075f9d6
diff --git a/recipes-phosphor/occ/openpower-occ-control_git.bb b/recipes-phosphor/occ/openpower-occ-control_git.bb
index 21d4438..33ebb46 100644
--- a/recipes-phosphor/occ/openpower-occ-control_git.bb
+++ b/recipes-phosphor/occ/openpower-occ-control_git.bb
@@ -32,10 +32,11 @@
phosphor-dbus-interfaces \
openpower-dbus-interfaces-native \
autoconf-archive-native \
- obmc-targets \
systemd \
"
+RDEPENDS_${PN} += "phosphor-state-manager-obmc-targets"
+
EXTRA_OECONF = " \
YAML_PATH=${STAGING_DATADIR_NATIVE}/${PN} \
PS_DERATING_FACTOR=${POWER_SUPPLY_DERATING_FACTOR} \
@@ -70,17 +71,18 @@
# Remove packages not required for native build
DEPENDS_remove_class-native = " \
phosphor-logging \
- obmc-targets \
systemd \
virtual/${PN}-config-native \
"
+RDEPENDS_${PN}_remove_class-native += "phosphor-state-manager-obmc-targets"
+
# Remove packages not required for native SDK build
DEPENDS_remove_class-nativesdk = " \
phosphor-logging \
- obmc-targets \
systemd \
virtual/${PN}-config-native \
"
+RDEPENDS_${PN}_remove_class-nativesdk += "phosphor-state-manager-obmc-targets"
# Provide a means to enable/disable install_error_yaml feature
PACKAGECONFIG ??= "install_error_yaml"
@@ -98,4 +100,3 @@
PACKAGECONFIG_remove_class-target = "install_error_yaml"
BBCLASSEXTEND += "native nativesdk"
-