summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/classes/obmc-phosphor-systemd.bbclass
blob: 7bd2d9d7475ec7313d1a676150f6f1202182da68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Common code for Phosphor OpenBMC systemd services.

inherit systemd

SYSTEMD_SERVICE_${PN} = "${PN}.service"
SRC_URI += " \
        file://${PN}.service \
        "

do_install_append() {
        # install systemd unit files
        install -d ${D}${systemd_unitdir}/system
        install -m 0644 ${WORKDIR}/${PN}.service ${D}${systemd_unitdir}/system
}
OpenPOWER on IntegriCloud