Adriana Kobylak | adb57d9 | 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 | c8e515c | 2017-08-28 12:00:05 -0500 | [diff] [blame] | 12 | inherit pythonnative |
Adriana Kobylak | adb57d9 | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 13 | |
Adriana Kobylak | b3d2980 | 2018-05-07 13:28:09 -0500 | [diff] [blame] | 14 | PACKAGECONFIG[verify_pnor_signature] = "--enable-verify_pnor_signature,--disable-verify_pnor_signature" |
| 15 | |
Adriana Kobylak | adb57d9 | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 16 | DEPENDS += " \ |
| 17 | autoconf-archive-native \ |
| 18 | phosphor-dbus-interfaces \ |
| 19 | phosphor-logging \ |
| 20 | sdbusplus \ |
Patrick Williams | c8e515c | 2017-08-28 12:00:05 -0500 | [diff] [blame] | 21 | sdbusplus-native \ |
Adriana Kobylak | adb57d9 | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 22 | " |
| 23 | |
| 24 | RDEPENDS_${PN} += " \ |
| 25 | mtd-utils-ubifs \ |
| 26 | phosphor-dbus-interfaces \ |
| 27 | phosphor-logging \ |
| 28 | sdbusplus \ |
Patrick Williams | bd3a4a6 | 2017-08-09 17:36:04 -0500 | [diff] [blame] | 29 | virtual-obmc-image-manager \ |
Adriana Kobylak | adb57d9 | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 30 | " |
| 31 | |
Adriana Kobylak | fc00de8 | 2017-06-02 09:22:40 -0500 | [diff] [blame] | 32 | S = "${WORKDIR}/git" |
| 33 | |
| 34 | SRC_URI += "git://github.com/openbmc/openpower-pnor-code-mgmt" |
| 35 | |
Adriana Kobylak | e882f91 | 2017-07-06 10:31:59 -0500 | [diff] [blame] | 36 | SRC_URI += "file://obmc-flash-bios" |
Adriana Kobylak | 5bd157c | 2017-05-25 15:48:27 -0500 | [diff] [blame] | 37 | |
Brad Bishop | 4ef98b1 | 2018-08-29 22:25:43 -0400 | [diff] [blame^] | 38 | SRCREV = "8be32f7ba38483884afe8d7f2273e7d9c32e0f8d" |
Adriana Kobylak | fc00de8 | 2017-06-02 09:22:40 -0500 | [diff] [blame] | 39 | |
| 40 | do_install_append() { |
Adriana Kobylak | 5bd157c | 2017-05-25 15:48:27 -0500 | [diff] [blame] | 41 | install -d ${D}${sbindir} |
Adriana Kobylak | e882f91 | 2017-07-06 10:31:59 -0500 | [diff] [blame] | 42 | install -m 0755 ${WORKDIR}/obmc-flash-bios ${D}${sbindir}/obmc-flash-bios |
Adriana Kobylak | 5bd157c | 2017-05-25 15:48:27 -0500 | [diff] [blame] | 43 | } |
| 44 | |
Adriana Kobylak | adb57d9 | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 45 | DBUS_SERVICE_${PN} += "org.open_power.Software.Host.Updater.service" |
Adriana Kobylak | fc00de8 | 2017-06-02 09:22:40 -0500 | [diff] [blame] | 46 | |
Adriana Kobylak | adb57d9 | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 47 | SYSTEMD_SERVICE_${PN} += " \ |
| 48 | obmc-flash-bios-ubiattach.service \ |
| 49 | obmc-flash-bios-ubimount@.service \ |
Saqib Khan | 20fe1ef | 2017-07-29 11:27:27 -0500 | [diff] [blame] | 50 | obmc-flash-bios-ubiumount-ro@.service \ |
Adriana Kobylak | e68378f | 2017-05-22 14:41:02 -0500 | [diff] [blame] | 51 | obmc-flash-bios-ubiumount-rw@.service \ |
Adriana Kobylak | f287af3 | 2017-07-12 13:52:22 -0500 | [diff] [blame] | 52 | obmc-flash-bios-ubipatch.service \ |
Saqib Khan | 58c870d | 2017-07-26 23:48:20 -0500 | [diff] [blame] | 53 | obmc-flash-bios-ubiremount.service \ |
Saqib Khan | d536f0d | 2017-08-02 12:48:12 -0500 | [diff] [blame] | 54 | obmc-flash-bios-updatesymlinks.service \ |
Michael Tritz | cebaac0 | 2017-09-21 00:41:15 -0500 | [diff] [blame] | 55 | obmc-flash-bios-cleanup.service \ |
Michael Tritz | 69848be | 2018-03-13 16:53:15 -0500 | [diff] [blame] | 56 | obmc-flash-bios-enable-clearvolatile@.service \ |
| 57 | obmc-flash-bios-check-clearvolatile@.service \ |
Adriana Kobylak | adb57d9 | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 58 | " |
Michael Tritz | 69848be | 2018-03-13 16:53:15 -0500 | [diff] [blame] | 59 | |
| 60 | ENABLE_CLEAR_VOLATILE_TMPL = "obmc-flash-bios-enable-clearvolatile@.service" |
| 61 | HOST_START_TGTFMT = "obmc-host-start@{0}.target" |
| 62 | ENABLE_CLEAR_VOLATILE_INSTFMT = "obmc-flash-bios-enable-clearvolatile@{0}.service" |
| 63 | ENABLE_CLEAR_VOLATILE_START_FMT = "../${ENABLE_CLEAR_VOLATILE_TMPL}:${HOST_START_TGTFMT}.requires/${ENABLE_CLEAR_VOLATILE_INSTFMT}" |
| 64 | |
| 65 | CHECK_CLEAR_VOLATILE_TMPL = "obmc-flash-bios-check-clearvolatile@.service" |
| 66 | HOST_STARTMIN_TGTFMT = "obmc-host-startmin@{0}.target" |
| 67 | CHECK_CLEAR_VOLATILE_INSTFMT = "obmc-flash-bios-check-clearvolatile@{0}.service" |
| 68 | CHECK_CLEAR_VOLATILE_START_FMT = "../${CHECK_CLEAR_VOLATILE_TMPL}:${HOST_STARTMIN_TGTFMT}.requires/${CHECK_CLEAR_VOLATILE_INSTFMT}" |
| 69 | |
| 70 | SYSTEMD_LINK_${PN} += "${@compose_list_zip(d, 'ENABLE_CLEAR_VOLATILE_START_FMT', 'OBMC_HOST_INSTANCES')}" |
| 71 | SYSTEMD_LINK_${PN} += "${@compose_list_zip(d, 'CHECK_CLEAR_VOLATILE_START_FMT', 'OBMC_HOST_INSTANCES')}" |