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" |
Patrick Venture | 191bfab | 2018-10-17 07:42:11 -0700 | [diff] [blame] | 7 | PV = "1.0+git${SRCPV}" |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 8 | LICENSE = "Apache-2.0" |
| 9 | LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" |
| 10 | |
Lei YU | 3ba9755 | 2019-03-11 17:32:32 +0800 | [diff] [blame] | 11 | inherit autotools pkgconfig systemd |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 12 | inherit obmc-phosphor-dbus-service |
Patrick Williams | 6d7f40b | 2017-08-28 12:00:05 -0500 | [diff] [blame] | 13 | inherit pythonnative |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 14 | |
Lei YU | 3ba9755 | 2019-03-11 17:32:32 +0800 | [diff] [blame] | 15 | inherit ${@bb.utils.contains('DISTRO_FEATURES', 'openpower-ubi-fs', \ |
| 16 | 'openpower-software-manager-ubi', \ |
| 17 | 'openpower-software-manager-static', d)} |
Adriana Kobylak | 8b805bd | 2019-10-25 15:24:38 -0500 | [diff] [blame^] | 18 | inherit ${@bb.utils.contains('DISTRO_FEATURES', 'openpower-virtual-pnor', \ |
| 19 | 'openpower-software-manager-virtual-pnor', \ |
| 20 | '', d)} |
Lei YU | 3ba9755 | 2019-03-11 17:32:32 +0800 | [diff] [blame] | 21 | |
Adriana Kobylak | d7c9505 | 2018-05-07 13:28:09 -0500 | [diff] [blame] | 22 | PACKAGECONFIG[verify_pnor_signature] = "--enable-verify_pnor_signature,--disable-verify_pnor_signature" |
Lei YU | 3ba9755 | 2019-03-11 17:32:32 +0800 | [diff] [blame] | 23 | PACKAGECONFIG[ubifs_layout] = "--enable-ubifs_layout,--disable-ubifs_layout,,mtd-utils-ubifs" |
Adriana Kobylak | 8b805bd | 2019-10-25 15:24:38 -0500 | [diff] [blame^] | 24 | PACKAGECONFIG[virtual_pnor] = "--enable-virtual_pnor,--disable-virtual_pnor" |
Adriana Kobylak | d7c9505 | 2018-05-07 13:28:09 -0500 | [diff] [blame] | 25 | |
Adriana Kobylak | 4315c91 | 2018-10-10 14:29:15 -0500 | [diff] [blame] | 26 | EXTRA_OECONF += " \ |
| 27 | PNOR_MSL="v2.0.10 v2.2" \ |
| 28 | " |
| 29 | |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 30 | DEPENDS += " \ |
| 31 | autoconf-archive-native \ |
| 32 | phosphor-dbus-interfaces \ |
| 33 | phosphor-logging \ |
| 34 | sdbusplus \ |
Patrick Williams | 6d7f40b | 2017-08-28 12:00:05 -0500 | [diff] [blame] | 35 | sdbusplus-native \ |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 36 | " |
| 37 | |
| 38 | RDEPENDS_${PN} += " \ |
Patrick Williams | 21d6569 | 2017-08-09 17:36:04 -0500 | [diff] [blame] | 39 | virtual-obmc-image-manager \ |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 40 | " |
| 41 | |
Adriana Kobylak | 2e95082 | 2017-06-02 09:22:40 -0500 | [diff] [blame] | 42 | S = "${WORKDIR}/git" |
| 43 | |
| 44 | SRC_URI += "git://github.com/openbmc/openpower-pnor-code-mgmt" |
| 45 | |
Adriana Kobylak | 8b805bd | 2019-10-25 15:24:38 -0500 | [diff] [blame^] | 46 | SRCREV = "f3dfe65de8487364c21b7b49396cf912821ea339" |
Adriana Kobylak | 2e95082 | 2017-06-02 09:22:40 -0500 | [diff] [blame] | 47 | |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 48 | DBUS_SERVICE_${PN} += "org.open_power.Software.Host.Updater.service" |
Adriana Kobylak | 2e95082 | 2017-06-02 09:22:40 -0500 | [diff] [blame] | 49 | |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 50 | SYSTEMD_SERVICE_${PN} += " \ |
Adriana Kobylak | 32803f8 | 2018-10-10 09:47:17 -0500 | [diff] [blame] | 51 | op-pnor-msl.service \ |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 52 | " |