summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/classes
diff options
context:
space:
mode:
authorXo Wang <xow@google.com>2017-01-18 17:55:50 -0800
committerPatrick Williams <patrick@stwcx.xyz>2017-01-26 03:37:47 +0000
commitd509c4c937ffba8756385a3f153c74b007b61fdf (patch)
tree6b8ba8035a18a5f83d49491c271639ab4e3bef57 /meta-phosphor/classes
parent7783a04f413f07ff9ee7924955771efd8a26f407 (diff)
downloadtalos-openbmc-d509c4c937ffba8756385a3f153c74b007b61fdf.tar.gz
talos-openbmc-d509c4c937ffba8756385a3f153c74b007b61fdf.zip
Add sysconfdir to default systemd service substitutions
This could be specified as a custom substition by recipes that use it, but like bindir, sbindir, and envfiledir, it seems common enough that it should be a default substitution. Signed-off-by: Xo Wang <xow@google.com> Change-Id: I827aad06ca8401a22554b87499ba7f33470f438d
Diffstat (limited to 'meta-phosphor/classes')
-rw-r--r--meta-phosphor/classes/obmc-phosphor-systemd.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-phosphor/classes/obmc-phosphor-systemd.bbclass b/meta-phosphor/classes/obmc-phosphor-systemd.bbclass
index 3d7d846a4..d302ca513 100644
--- a/meta-phosphor/classes/obmc-phosphor-systemd.bbclass
+++ b/meta-phosphor/classes/obmc-phosphor-systemd.bbclass
@@ -128,6 +128,7 @@ python() {
'bindir',
'sbindir',
'envfiledir',
+ 'sysconfdir',
'SYSTEMD_DEFAULT_TARGET' ]:
set_append(d, 'SYSTEMD_SUBSTITUTIONS',
'%s:%s:%s' % (x, d.getVar(x, True), file))
OpenPOWER on IntegriCloud