summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-phosphor/classes/obmc-phosphor-systemd.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-phosphor/classes/obmc-phosphor-systemd.bbclass b/meta-phosphor/classes/obmc-phosphor-systemd.bbclass
index 7bd2d9d74..12e0bc168 100644
--- a/meta-phosphor/classes/obmc-phosphor-systemd.bbclass
+++ b/meta-phosphor/classes/obmc-phosphor-systemd.bbclass
@@ -2,13 +2,13 @@
inherit systemd
-SYSTEMD_SERVICE_${PN} = "${PN}.service"
+SYSTEMD_SERVICE_${PN} = "${BPN}.service"
SRC_URI += " \
- file://${PN}.service \
+ file://${BPN}.service \
"
do_install_append() {
# install systemd unit files
install -d ${D}${systemd_unitdir}/system
- install -m 0644 ${WORKDIR}/${PN}.service ${D}${systemd_unitdir}/system
+ install -m 0644 ${WORKDIR}/${BPN}.service ${D}${systemd_unitdir}/system
}
OpenPOWER on IntegriCloud