blob: 84be2206174f91b14c72d50c1019439d112ffad0 [file] [log] [blame]
Gunnar Mills35591d42017-01-27 13:13:24 -06001SUMMARY = "Phosphor Software Management"
2DESCRIPTION = "Phosphor Software Manager provides a set of system software \
3management daemons. It is suitable for use on a wide variety of OpenBMC \
4platforms."
5HOMEPAGE = "https://github.com/openbmc/phosphor-bmc-code-mgmt"
6PR = "r1"
7LICENSE = "Apache-2.0"
8LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
9
10SOFTWARE_MGR_PACKAGES = " \
11 ${PN}-version \
Deepak Kodihalli60d1de52017-04-13 23:23:42 -050012 ${PN}-download-mgr \
Gunnar Mills35591d42017-01-27 13:13:24 -060013"
Deepak Kodihalli60d1de52017-04-13 23:23:42 -050014PACKAGES =+ "${SOFTWARE_MGR_PACKAGES}"
Brad Bishop4c43bb52017-03-01 15:37:17 -050015PACKAGES_remove = "${PN}"
16RDEPENDS_${PN}-dev = "${SOFTWARE_MGR_PACKAGES}"
17RDEPENDS_${PN}-staticdev = "${SOFTWARE_MGR_PACKAGES}"
18
Gunnar Mills35591d42017-01-27 13:13:24 -060019DBUS_PACKAGES = "${SOFTWARE_MGR_PACKAGES}"
20
21# Set SYSTEMD_PACKAGES to empty because we do not want ${PN} and DBUS_PACKAGES
22# handles the rest.
23SYSTEMD_PACKAGES = ""
24
25inherit autotools pkgconfig
26inherit obmc-phosphor-dbus-service
27
Deepak Kodihalli60d1de52017-04-13 23:23:42 -050028DEPENDS += " \
29 autoconf-archive-native \
30 sdbusplus \
31 phosphor-dbus-interfaces \
32 phosphor-logging \
33"
Gunnar Mills35591d42017-01-27 13:13:24 -060034
Deepak Kodihalli60d1de52017-04-13 23:23:42 -050035RDEPENDS_${PN}-version += " \
36 phosphor-logging \
37 phosphor-dbus-interfaces \
38 sdbusplus \
39"
40RDEPENDS_${PN}-download-mgr += " \
41 phosphor-logging \
42 phosphor-dbus-interfaces \
43 sdbusplus \
44"
Gunnar Mills35591d42017-01-27 13:13:24 -060045
Deepak Kodihalli60d1de52017-04-13 23:23:42 -050046FILES_${PN}-version += "${sbindir}/phosphor-version-software-manager"
47FILES_${PN}-download-mgr += "${sbindir}/phosphor-download-manager"
Gunnar Mills17ee7b12017-02-22 11:41:12 -060048DBUS_SERVICE_${PN}-version += "xyz.openbmc_project.Software.BMC.Version.service"
Deepak Kodihalli60d1de52017-04-13 23:23:42 -050049DBUS_SERVICE_${PN}-download-mgr += "xyz.openbmc_project.Software.Download.service"
Gunnar Mills35591d42017-01-27 13:13:24 -060050
51SRC_URI += "git://github.com/openbmc/phosphor-bmc-code-mgmt"
Patrick Williams95befce2017-05-05 18:20:04 -050052SRCREV = "368cfcbb4755f6b78f6f0c5976aece4ce823f4ec"
Gunnar Mills35591d42017-01-27 13:13:24 -060053
54S = "${WORKDIR}/git"