blob: acfaf95411518f4936522367391df0cbd9952694 [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 Mills30131f72017-05-15 15:40:58 -050013 ${PN}-updater \
Gunnar Mills35591d42017-01-27 13:13:24 -060014"
Deepak Kodihalli60d1de52017-04-13 23:23:42 -050015PACKAGES =+ "${SOFTWARE_MGR_PACKAGES}"
Brad Bishop4c43bb52017-03-01 15:37:17 -050016PACKAGES_remove = "${PN}"
17RDEPENDS_${PN}-dev = "${SOFTWARE_MGR_PACKAGES}"
18RDEPENDS_${PN}-staticdev = "${SOFTWARE_MGR_PACKAGES}"
19
Gunnar Mills35591d42017-01-27 13:13:24 -060020DBUS_PACKAGES = "${SOFTWARE_MGR_PACKAGES}"
21
22# Set SYSTEMD_PACKAGES to empty because we do not want ${PN} and DBUS_PACKAGES
23# handles the rest.
24SYSTEMD_PACKAGES = ""
25
26inherit autotools pkgconfig
27inherit obmc-phosphor-dbus-service
Gunnar Millse0178ae2017-05-24 13:12:22 -050028inherit pythonnative
Gunnar Mills35591d42017-01-27 13:13:24 -060029
Deepak Kodihalli60d1de52017-04-13 23:23:42 -050030DEPENDS += " \
31 autoconf-archive-native \
32 sdbusplus \
33 phosphor-dbus-interfaces \
34 phosphor-logging \
35"
Gunnar Mills35591d42017-01-27 13:13:24 -060036
Deepak Kodihalli60d1de52017-04-13 23:23:42 -050037RDEPENDS_${PN}-version += " \
38 phosphor-logging \
39 phosphor-dbus-interfaces \
40 sdbusplus \
41"
42RDEPENDS_${PN}-download-mgr += " \
43 phosphor-logging \
44 phosphor-dbus-interfaces \
45 sdbusplus \
46"
Gunnar Mills30131f72017-05-15 15:40:58 -050047RDEPENDS_${PN}-updater += " \
48 phosphor-logging \
49 phosphor-dbus-interfaces \
50 sdbusplus \
51"
Gunnar Mills35591d42017-01-27 13:13:24 -060052
Deepak Kodihalli60d1de52017-04-13 23:23:42 -050053FILES_${PN}-version += "${sbindir}/phosphor-version-software-manager"
54FILES_${PN}-download-mgr += "${sbindir}/phosphor-download-manager"
Gunnar Mills30131f72017-05-15 15:40:58 -050055FILES_${PN}-updater += "${sbindir}/phosphor-image-updater"
Gunnar Mills4a993b52017-05-11 08:27:12 -050056DBUS_SERVICE_${PN}-version += "xyz.openbmc_project.Software.Version.service"
Deepak Kodihalli60d1de52017-04-13 23:23:42 -050057DBUS_SERVICE_${PN}-download-mgr += "xyz.openbmc_project.Software.Download.service"
Gunnar Mills30131f72017-05-15 15:40:58 -050058DBUS_SERVICE_${PN}-updater += "xyz.openbmc_project.Software.BMC.Updater.service"
Gunnar Mills35591d42017-01-27 13:13:24 -060059
60SRC_URI += "git://github.com/openbmc/phosphor-bmc-code-mgmt"
Patrick Williams93b2c842017-06-26 17:30:05 -050061SRCREV = "9a8d14c6a1d886e08c068aa1d681352c9064c2c0"
Gunnar Mills35591d42017-01-27 13:13:24 -060062
63S = "${WORKDIR}/git"