diff options
Diffstat (limited to 'meta-phosphor')
-rw-r--r-- | meta-phosphor/classes/obmc-phosphor-systemd.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-phosphor/classes/obmc-phosphor-systemd.bbclass b/meta-phosphor/classes/obmc-phosphor-systemd.bbclass index 9b4419bcd..830d0390c 100644 --- a/meta-phosphor/classes/obmc-phosphor-systemd.bbclass +++ b/meta-phosphor/classes/obmc-phosphor-systemd.bbclass @@ -130,8 +130,11 @@ python() { 'base_bindir', 'bindir', 'sbindir', + 'libexecdir', 'envfiledir', 'sysconfdir', + 'localstatedir', + 'datadir', 'SYSTEMD_DEFAULT_TARGET' ]: set_append(d, 'SYSTEMD_SUBSTITUTIONS', '%s:%s:%s' % (x, d.getVar(x, True), file)) @@ -336,6 +339,9 @@ do_install_append() { sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' \ -e 's,@BINDIR@,${bindir},g' \ -e 's,@SBINDIR@,${sbindir},g' \ + -e 's,@LIBEXECDIR@,${libexecdir},g' \ + -e 's,@LOCALSTATEDIR@,${localstatedir},g' \ + -e 's,@DATADIR@,${datadir},g' \ ${D}${systemd_system_unitdir}/$s done } |