Gunnar Mills | 35591d4 | 2017-01-27 13:13:24 -0600 | [diff] [blame] | 1 | SUMMARY = "Phosphor Software Management" |
| 2 | DESCRIPTION = "Phosphor Software Manager provides a set of system software \ |
| 3 | management daemons. It is suitable for use on a wide variety of OpenBMC \ |
| 4 | platforms." |
| 5 | HOMEPAGE = "https://github.com/openbmc/phosphor-bmc-code-mgmt" |
| 6 | PR = "r1" |
| 7 | LICENSE = "Apache-2.0" |
| 8 | LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" |
| 9 | |
| 10 | SOFTWARE_MGR_PACKAGES = " \ |
| 11 | ${PN}-version \ |
Deepak Kodihalli | 60d1de5 | 2017-04-13 23:23:42 -0500 | [diff] [blame] | 12 | ${PN}-download-mgr \ |
Gunnar Mills | 30131f7 | 2017-05-15 15:40:58 -0500 | [diff] [blame] | 13 | ${PN}-updater \ |
Gunnar Mills | 35591d4 | 2017-01-27 13:13:24 -0600 | [diff] [blame] | 14 | " |
Deepak Kodihalli | 60d1de5 | 2017-04-13 23:23:42 -0500 | [diff] [blame] | 15 | PACKAGES =+ "${SOFTWARE_MGR_PACKAGES}" |
Brad Bishop | 4c43bb5 | 2017-03-01 15:37:17 -0500 | [diff] [blame] | 16 | PACKAGES_remove = "${PN}" |
| 17 | RDEPENDS_${PN}-dev = "${SOFTWARE_MGR_PACKAGES}" |
| 18 | RDEPENDS_${PN}-staticdev = "${SOFTWARE_MGR_PACKAGES}" |
| 19 | |
Gunnar Mills | 35591d4 | 2017-01-27 13:13:24 -0600 | [diff] [blame] | 20 | DBUS_PACKAGES = "${SOFTWARE_MGR_PACKAGES}" |
| 21 | |
| 22 | # Set SYSTEMD_PACKAGES to empty because we do not want ${PN} and DBUS_PACKAGES |
| 23 | # handles the rest. |
| 24 | SYSTEMD_PACKAGES = "" |
| 25 | |
| 26 | inherit autotools pkgconfig |
| 27 | inherit obmc-phosphor-dbus-service |
Gunnar Mills | e0178ae | 2017-05-24 13:12:22 -0500 | [diff] [blame] | 28 | inherit pythonnative |
Gunnar Mills | 35591d4 | 2017-01-27 13:13:24 -0600 | [diff] [blame] | 29 | |
Deepak Kodihalli | 60d1de5 | 2017-04-13 23:23:42 -0500 | [diff] [blame] | 30 | DEPENDS += " \ |
| 31 | autoconf-archive-native \ |
| 32 | sdbusplus \ |
| 33 | phosphor-dbus-interfaces \ |
| 34 | phosphor-logging \ |
| 35 | " |
Gunnar Mills | 35591d4 | 2017-01-27 13:13:24 -0600 | [diff] [blame] | 36 | |
Deepak Kodihalli | 60d1de5 | 2017-04-13 23:23:42 -0500 | [diff] [blame] | 37 | RDEPENDS_${PN}-version += " \ |
| 38 | phosphor-logging \ |
| 39 | phosphor-dbus-interfaces \ |
| 40 | sdbusplus \ |
| 41 | " |
| 42 | RDEPENDS_${PN}-download-mgr += " \ |
| 43 | phosphor-logging \ |
| 44 | phosphor-dbus-interfaces \ |
| 45 | sdbusplus \ |
| 46 | " |
Gunnar Mills | 30131f7 | 2017-05-15 15:40:58 -0500 | [diff] [blame] | 47 | RDEPENDS_${PN}-updater += " \ |
| 48 | phosphor-logging \ |
| 49 | phosphor-dbus-interfaces \ |
| 50 | sdbusplus \ |
| 51 | " |
Gunnar Mills | 35591d4 | 2017-01-27 13:13:24 -0600 | [diff] [blame] | 52 | |
Deepak Kodihalli | 60d1de5 | 2017-04-13 23:23:42 -0500 | [diff] [blame] | 53 | FILES_${PN}-version += "${sbindir}/phosphor-version-software-manager" |
| 54 | FILES_${PN}-download-mgr += "${sbindir}/phosphor-download-manager" |
Gunnar Mills | 30131f7 | 2017-05-15 15:40:58 -0500 | [diff] [blame] | 55 | FILES_${PN}-updater += "${sbindir}/phosphor-image-updater" |
Gunnar Mills | 4a993b5 | 2017-05-11 08:27:12 -0500 | [diff] [blame] | 56 | DBUS_SERVICE_${PN}-version += "xyz.openbmc_project.Software.Version.service" |
Deepak Kodihalli | 60d1de5 | 2017-04-13 23:23:42 -0500 | [diff] [blame] | 57 | DBUS_SERVICE_${PN}-download-mgr += "xyz.openbmc_project.Software.Download.service" |
Gunnar Mills | 30131f7 | 2017-05-15 15:40:58 -0500 | [diff] [blame] | 58 | DBUS_SERVICE_${PN}-updater += "xyz.openbmc_project.Software.BMC.Updater.service" |
Gunnar Mills | 35591d4 | 2017-01-27 13:13:24 -0600 | [diff] [blame] | 59 | |
| 60 | SRC_URI += "git://github.com/openbmc/phosphor-bmc-code-mgmt" |
Patrick Williams | 73f71fb | 2017-06-25 20:37:37 -0500 | [diff] [blame] | 61 | SRCREV = "705f1bfcb3e747a9039e14dd205479ab7015996f" |
Gunnar Mills | 35591d4 | 2017-01-27 13:13:24 -0600 | [diff] [blame] | 62 | |
| 63 | S = "${WORKDIR}/git" |