summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/classes/obmc-phosphor-systemd.bbclass
blob: 12e0bc168bf6f3614d23e421ee28c8677339729a (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} = "${BPN}.service"
SRC_URI += " \
        file://${BPN}.service \
        "

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