Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 1 | SUMMARY = "OpenPower Software Management" |
| 2 | DESCRIPTION = "OpenPower Software Manager provides a set of host software \ |
| 3 | management daemons. It is suitable for use on a wide variety of OpenPower \ |
| 4 | platforms." |
| 5 | HOMEPAGE = "https://github.com/openbmc/openpower-pnor-code-mgmt" |
| 6 | PR = "r1" |
| 7 | LICENSE = "Apache-2.0" |
| 8 | LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" |
| 9 | |
| 10 | inherit autotools pkgconfig |
| 11 | inherit obmc-phosphor-dbus-service |
Patrick Williams | 6d7f40b | 2017-08-28 12:00:05 -0500 | [diff] [blame] | 12 | inherit pythonnative |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 13 | |
| 14 | DEPENDS += " \ |
| 15 | autoconf-archive-native \ |
| 16 | phosphor-dbus-interfaces \ |
| 17 | phosphor-logging \ |
| 18 | sdbusplus \ |
Patrick Williams | 6d7f40b | 2017-08-28 12:00:05 -0500 | [diff] [blame] | 19 | sdbusplus-native \ |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 20 | " |
| 21 | |
| 22 | RDEPENDS_${PN} += " \ |
| 23 | mtd-utils-ubifs \ |
| 24 | phosphor-dbus-interfaces \ |
| 25 | phosphor-logging \ |
| 26 | sdbusplus \ |
Patrick Williams | 21d6569 | 2017-08-09 17:36:04 -0500 | [diff] [blame] | 27 | virtual-obmc-image-manager \ |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 28 | " |
| 29 | |
Adriana Kobylak | 2e95082 | 2017-06-02 09:22:40 -0500 | [diff] [blame] | 30 | S = "${WORKDIR}/git" |
| 31 | |
| 32 | SRC_URI += "git://github.com/openbmc/openpower-pnor-code-mgmt" |
| 33 | |
Adriana Kobylak | e253838 | 2017-07-06 10:31:59 -0500 | [diff] [blame] | 34 | SRC_URI += "file://obmc-flash-bios" |
Adriana Kobylak | 69d3de0 | 2017-05-25 15:48:27 -0500 | [diff] [blame] | 35 | |
Patrick Williams | 772ae84 | 2017-10-02 12:30:03 -0500 | [diff] [blame] | 36 | SRCREV = "6a52226d5e43d8a5c0f300af0322ae65283463dd" |
Adriana Kobylak | 2e95082 | 2017-06-02 09:22:40 -0500 | [diff] [blame] | 37 | |
| 38 | do_install_append() { |
Adriana Kobylak | 69d3de0 | 2017-05-25 15:48:27 -0500 | [diff] [blame] | 39 | install -d ${D}${sbindir} |
Adriana Kobylak | e253838 | 2017-07-06 10:31:59 -0500 | [diff] [blame] | 40 | install -m 0755 ${WORKDIR}/obmc-flash-bios ${D}${sbindir}/obmc-flash-bios |
Adriana Kobylak | 69d3de0 | 2017-05-25 15:48:27 -0500 | [diff] [blame] | 41 | } |
| 42 | |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 43 | DBUS_SERVICE_${PN} += "org.open_power.Software.Host.Updater.service" |
Adriana Kobylak | 2e95082 | 2017-06-02 09:22:40 -0500 | [diff] [blame] | 44 | |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 45 | SYSTEMD_SERVICE_${PN} += " \ |
| 46 | obmc-flash-bios-ubiattach.service \ |
| 47 | obmc-flash-bios-ubimount@.service \ |
Saqib Khan | 6316a54 | 2017-07-29 11:27:27 -0500 | [diff] [blame] | 48 | obmc-flash-bios-ubiumount-ro@.service \ |
Adriana Kobylak | 7f01f21 | 2017-05-22 14:41:02 -0500 | [diff] [blame] | 49 | obmc-flash-bios-ubiumount-rw@.service \ |
Adriana Kobylak | d8b8575 | 2017-07-12 13:52:22 -0500 | [diff] [blame] | 50 | obmc-flash-bios-ubipatch.service \ |
Saqib Khan | bea768c | 2017-07-26 23:48:20 -0500 | [diff] [blame] | 51 | obmc-flash-bios-ubiremount.service \ |
Saqib Khan | fa92e97 | 2017-08-02 12:48:12 -0500 | [diff] [blame] | 52 | obmc-flash-bios-updatesymlinks.service \ |
Michael Tritz | f15008a | 2017-09-22 15:00:51 -0500 | [diff] [blame^] | 53 | obmc-flash-bios-ubiclear@.service \ |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 54 | " |