summaryrefslogtreecommitdiff
path: root/meta-google/recipes-phosphor/flash/dummy-gbmc-update.bb
blob: 4bff6e3313fb9f51e3153a7c2fcc1c11ae886fab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
SUMMARY = "Dummy image uploader for sending debug binaries"
DESCRIPTION = "Dummy image uploader for sending debug binaries"
PR = "r1"

LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"

inherit systemd

SRC_URI += "file://config-dummy.json"
SRC_URI += "file://dummy-verify.service"

FILES:${PN} += "${datadir}/phosphor-ipmi-flash"

SYSTEMD_SERVICE:${PN} += "dummy-verify.service"

do_install() {
    install -d ${D}${datadir}/phosphor-ipmi-flash
    install -m 0644 ${WORKDIR}/config-dummy.json ${D}${datadir}/phosphor-ipmi-flash

    install -d ${D}${systemd_system_unitdir}
    install -m 0644 ${WORKDIR}/dummy-verify.service ${D}${systemd_system_unitdir}
}