diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2017-08-10 01:36:04 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-08-10 20:04:21 +0300 |
commit | 21d65698f126c9771257eff0990c608a026969c1 (patch) | |
tree | d488983a7f6327904c75d2c54bfd6090ec5b559e /meta-phosphor | |
parent | befcd7db78dc9af99e936543e6af51b22ee63615 (diff) | |
download | openbmc-21d65698f126c9771257eff0990c608a026969c1.tar.xz |
phosphor-software-manager: make version a virtual pkg
phosphor-software-manager-version provides a set of dbus
interfaces that are only useful if there is an 'updater'
package also installed. Rather than explicitly install
phosphor-software-manager-version, have it RPROVIDE a
virtual package and set up RDEPENDS correctly so it is
added to the image whenever an 'updater' package is
installed.
Change-Id: Id6850aca023bb546881fe1583c57d9a24405e25a
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'meta-phosphor')
3 files changed, 5 insertions, 7 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager.bb b/meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager.bb index 78955f7cb..6a6ba05ee 100644 --- a/meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager.bb +++ b/meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager.bb @@ -48,6 +48,11 @@ RDEPENDS_${PN}-updater += " \ phosphor-logging \ phosphor-dbus-interfaces \ sdbusplus \ + virtual-obmc-image-manager \ +" + +RPROVIDES_${PN}-version += " \ + virtual-obmc-image-manager \ " FILES_${PN}-version += "${sbindir}/phosphor-version-software-manager" diff --git a/meta-phosphor/common/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb b/meta-phosphor/common/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb index 035270e48..2d2b7e1a8 100644 --- a/meta-phosphor/common/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb +++ b/meta-phosphor/common/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb @@ -85,7 +85,6 @@ RDEPENDS_${PN}-sensors = " \ SUMMARY_${PN}-software = "Software applications" RDEPENDS_${PN}-software = " \ - ${VIRTUAL-RUNTIME_obmc-bmc-code-mgr} \ ${VIRTUAL-RUNTIME_obmc-bmc-download-mgr} \ ${VIRTUAL-RUNTIME_obmc-bmc-updater} \ " diff --git a/meta-phosphor/conf/distro/include/phosphor-defaults.inc b/meta-phosphor/conf/distro/include/phosphor-defaults.inc index 543413cd8..5a5fe3ab7 100644 --- a/meta-phosphor/conf/distro/include/phosphor-defaults.inc +++ b/meta-phosphor/conf/distro/include/phosphor-defaults.inc @@ -77,12 +77,6 @@ VIRTUAL-RUNTIME_obmc-led-monitor ?= "phosphor-led-manager-faultmonitor" # Linux kernel LED subsystem LEDs. VIRTUAL-RUNTIME_obmc-leds-sysfs ?= "phosphor-led-sysfs" -# obmc-bmc-code-mgr -# -# Provides an implementation of the xyz.openbmc_project.Software.Version -# interface. -VIRTUAL-RUNTIME_obmc-bmc-code-mgr ?= "phosphor-software-manager-version" - # obmc-bmc-download-mgr # # Provides an implementation of the xyz.openbmc_project.Common.TFTP |