blob: 25dd8f61c0798c8240575fc818fc035beb842d8c [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 Mills4a993b52017-05-11 08:27:12 -050048DBUS_SERVICE_${PN}-version += "xyz.openbmc_project.Software.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 Williams76767fe2017-05-10 21:20:02 -050052SRCREV = "9b7c0b6da3e764cf51baf6b87ab4297a39ab782f"
Gunnar Mills35591d42017-01-27 13:13:24 -060053
54S = "${WORKDIR}/git"