]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake.conf: add systemd_unitdir
authorAndreas Müller <schnitzeltony@googlemail.com>
Thu, 22 Mar 2012 11:05:56 +0000 (12:05 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Mar 2012 16:44:18 +0000 (16:44 +0000)
Some of oe-core's recipes need to know where systemd units are. Since the
directory might change in the future [1], we set the location once globally to
reduce maintenance efforts

[1] http://www.gossamer-threads.com/lists/gentoo/dev/245758

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/bitbake.conf

index a9fcf052c3e7a75dd7df39cc945bf4798f3860a5..f140b6bc22fd57d85c2bfc9b9a4fefbce266767d 100644 (file)
@@ -39,6 +39,7 @@ export libexecdir = "${exec_prefix}/libexec"
 export libdir = "${exec_prefix}/${baselib}"
 export includedir = "${exec_prefix}/include"
 export oldincludedir = "${exec_prefix}/include"
+export systemd_unitdir = "${base_libdir}/systemd"
 
 # Linkage between native/cross/nativesdk layouts
 base_bindir_native = "/bin"