diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2015-10-15 23:50:00 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2015-10-16 00:27:45 +0300 |
commit | daf879bf428dfdec5d1e5a480370d9e9a0689194 (patch) | |
tree | 9af4cc0192830619381829c5fd79393a37e6ed6c /meta-phosphor | |
parent | 40fc73b6fc034140964ac5f3d53b4eb236a524d9 (diff) | |
download | openbmc-daf879bf428dfdec5d1e5a480370d9e9a0689194.tar.xz |
-systemd.bbclass incorrect for nativesdk packages
We should use the 'bare' package name BPN instead of PN for finding the
service file. Otherwise, a -nativesdk package cannot be created because
we get a file-not-found error on the service file.
Diffstat (limited to 'meta-phosphor')
-rw-r--r-- | meta-phosphor/classes/obmc-phosphor-systemd.bbclass | 6 |
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 } |