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 | |
Brad Bishop | d928e59 | 2020-11-15 13:49:49 -0500 | [diff] [blame] | 11 | inherit meson pkgconfig systemd |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 12 | inherit obmc-phosphor-dbus-service |
| 13 | |
Adriana Kobylak | b0e8522 | 2020-07-15 21:42:04 -0500 | [diff] [blame] | 14 | # Static configuration. This is the default if no other layout is specified. |
| 15 | inherit ${@bb.utils.contains_any('DISTRO_FEATURES', \ |
| 16 | 'openpower-ubi-fs phosphor-mmc', \ |
| 17 | '', \ |
| 18 | 'openpower-software-manager-static', d)} |
| 19 | |
| 20 | # UBI layout |
Lei YU | 3ba9755 | 2019-03-11 17:32:32 +0800 | [diff] [blame] | 21 | inherit ${@bb.utils.contains('DISTRO_FEATURES', 'openpower-ubi-fs', \ |
| 22 | 'openpower-software-manager-ubi', \ |
Adriana Kobylak | b0e8522 | 2020-07-15 21:42:04 -0500 | [diff] [blame] | 23 | '', d)} |
| 24 | # eMMC layout |
| 25 | inherit ${@bb.utils.contains('DISTRO_FEATURES', 'phosphor-mmc', \ |
| 26 | 'openpower-software-manager-mmc', \ |
| 27 | '', d)} |
| 28 | |
| 29 | # Virtual PNOR |
Adriana Kobylak | 8b805bd | 2019-10-25 15:24:38 -0500 | [diff] [blame] | 30 | inherit ${@bb.utils.contains('DISTRO_FEATURES', 'openpower-virtual-pnor', \ |
| 31 | 'openpower-software-manager-virtual-pnor', \ |
| 32 | '', d)} |
Lei YU | 3ba9755 | 2019-03-11 17:32:32 +0800 | [diff] [blame] | 33 | |
Brad Bishop | d928e59 | 2020-11-15 13:49:49 -0500 | [diff] [blame] | 34 | PACKAGECONFIG[verify_pnor_signature] = "-Dverify-signature=enabled, -Dverify-signature=disabled" |
| 35 | PACKAGECONFIG[ubifs_layout] = "-Ddevice-type=ubi,,,mtd-utils-ubifs" |
| 36 | PACKAGECONFIG[mmc_layout] = "-Ddevice-type=mmc" |
| 37 | PACKAGECONFIG[virtual_pnor] = "-Dvpnor=enabled, -Dvpnor=disabled" |
Adriana Kobylak | d7c9505 | 2018-05-07 13:28:09 -0500 | [diff] [blame] | 38 | |
Brad Bishop | d928e59 | 2020-11-15 13:49:49 -0500 | [diff] [blame] | 39 | EXTRA_OEMESON += " \ |
William A. Kennington III | fe61aa3 | 2021-05-29 23:50:53 -0700 | [diff] [blame] | 40 | -Dtests=disabled \ |
Brad Bishop | d928e59 | 2020-11-15 13:49:49 -0500 | [diff] [blame] | 41 | -Dmsl="v2.0.10 v2.2" \ |
Adriana Kobylak | 4315c91 | 2018-10-10 14:29:15 -0500 | [diff] [blame] | 42 | " |
| 43 | |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 44 | DEPENDS += " \ |
Andrew Geissler | 334fec9 | 2020-12-01 18:51:54 +0000 | [diff] [blame] | 45 | cli11 \ |
Andrew Geissler | d564f2c | 2020-12-09 19:52:17 +0000 | [diff] [blame] | 46 | dbus \ |
Andrew Geissler | a45b753 | 2021-07-30 19:10:22 +0000 | [diff] [blame] | 47 | nlohmann-json \ |
Patrick Williams | 5ec7af7 | 2020-02-24 21:48:12 -0600 | [diff] [blame] | 48 | openssl \ |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 49 | phosphor-dbus-interfaces \ |
| 50 | phosphor-logging \ |
| 51 | sdbusplus \ |
| 52 | " |
| 53 | |
Adriana Kobylak | 8c6707f | 2021-08-06 17:35:36 +0000 | [diff] [blame] | 54 | RDEPENDS:${PN} += " \ |
Patrick Williams | 21d6569 | 2017-08-09 17:36:04 -0500 | [diff] [blame] | 55 | virtual-obmc-image-manager \ |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 56 | " |
| 57 | |
Adriana Kobylak | 8c6707f | 2021-08-06 17:35:36 +0000 | [diff] [blame] | 58 | FILES:${PN} += "${datadir}/dbus-1/system.d/org.open_power.Software.Host.Updater.conf" |
Andrew Geissler | d564f2c | 2020-12-09 19:52:17 +0000 | [diff] [blame] | 59 | |
Adriana Kobylak | 2e95082 | 2017-06-02 09:22:40 -0500 | [diff] [blame] | 60 | S = "${WORKDIR}/git" |
| 61 | |
| 62 | SRC_URI += "git://github.com/openbmc/openpower-pnor-code-mgmt" |
| 63 | |
Andrew Geissler | 71660fa | 2021-10-04 19:30:28 +0000 | [diff] [blame] | 64 | SRCREV = "a38f6e652e7da6fc29e71adeeacfa8ae02c46ab8" |
Adriana Kobylak | 2e95082 | 2017-06-02 09:22:40 -0500 | [diff] [blame] | 65 | |
Patrick Williams | 57b7624 | 2021-08-11 15:27:06 -0500 | [diff] [blame] | 66 | DBUS_SERVICE:${PN} += "org.open_power.Software.Host.Updater.service" |
Adriana Kobylak | 2e95082 | 2017-06-02 09:22:40 -0500 | [diff] [blame] | 67 | |
Adriana Kobylak | 8c6707f | 2021-08-06 17:35:36 +0000 | [diff] [blame] | 68 | SYSTEMD_SERVICE:${PN} += " \ |
Adriana Kobylak | 32803f8 | 2018-10-10 09:47:17 -0500 | [diff] [blame] | 69 | op-pnor-msl.service \ |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 70 | " |