blob: 84be2206174f91b14c72d50c1019439d112ffad0 [file] [log] [blame]
SUMMARY = "Phosphor Software Management"
DESCRIPTION = "Phosphor Software Manager provides a set of system software \
management daemons. It is suitable for use on a wide variety of OpenBMC \
platforms."
HOMEPAGE = "https://github.com/openbmc/phosphor-bmc-code-mgmt"
PR = "r1"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
SOFTWARE_MGR_PACKAGES = " \
${PN}-version \
${PN}-download-mgr \
"
PACKAGES =+ "${SOFTWARE_MGR_PACKAGES}"
PACKAGES_remove = "${PN}"
RDEPENDS_${PN}-dev = "${SOFTWARE_MGR_PACKAGES}"
RDEPENDS_${PN}-staticdev = "${SOFTWARE_MGR_PACKAGES}"
DBUS_PACKAGES = "${SOFTWARE_MGR_PACKAGES}"
# Set SYSTEMD_PACKAGES to empty because we do not want ${PN} and DBUS_PACKAGES
# handles the rest.
SYSTEMD_PACKAGES = ""
inherit autotools pkgconfig
inherit obmc-phosphor-dbus-service
DEPENDS += " \
autoconf-archive-native \
sdbusplus \
phosphor-dbus-interfaces \
phosphor-logging \
"
RDEPENDS_${PN}-version += " \
phosphor-logging \
phosphor-dbus-interfaces \
sdbusplus \
"
RDEPENDS_${PN}-download-mgr += " \
phosphor-logging \
phosphor-dbus-interfaces \
sdbusplus \
"
FILES_${PN}-version += "${sbindir}/phosphor-version-software-manager"
FILES_${PN}-download-mgr += "${sbindir}/phosphor-download-manager"
DBUS_SERVICE_${PN}-version += "xyz.openbmc_project.Software.BMC.Version.service"
DBUS_SERVICE_${PN}-download-mgr += "xyz.openbmc_project.Software.Download.service"
SRC_URI += "git://github.com/openbmc/phosphor-bmc-code-mgmt"
SRCREV = "368cfcbb4755f6b78f6f0c5976aece4ce823f4ec"
S = "${WORKDIR}/git"