summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2015-12-09 13:27:29 +0900
committerGerrit Code Review <gerrit@172.30.200.200>2015-12-09 17:07:20 +0000
commit1a70860b4438d4e0259ef3b40c9f890d9695e059 (patch)
treeef284889e68d0ea9f145f38ed6102249a4ab7c60
parente8ccbb70ae58efb15c8f8b3361f686c96c3b64c1 (diff)
Add variables for path of systemd's unit files
To use systemd user mode from recipes, it convenient that some variables are available, which point proper paths for unit files. For that, backport 2 variables which has been added latest poky. (From Poky rev:319a69f1d757a577b50a2ca9c8fbf845eba8e274) When upgrading poky in future, these variables should be removed from poky-agl.conf. Change-Id: I8ba7594b488ecd6421caf7dde484eb6b091ff0de Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
-rw-r--r--meta-agl/conf/distro/poky-agl.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-agl/conf/distro/poky-agl.conf b/meta-agl/conf/distro/poky-agl.conf
index 58abfcd6a..2f80f3f33 100644
--- a/meta-agl/conf/distro/poky-agl.conf
+++ b/meta-agl/conf/distro/poky-agl.conf
@@ -18,6 +18,11 @@ PREFERRED_PROVIDER_udev-utils ?= "systemd"
VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = ""
+# Backport from poky:319a69f1d757a577b50a2ca9c8fbf845eba8e274
+export systemd_system_unitdir = "${nonarch_base_libdir}/systemd/system"
+export nonarch_libdir = "${exec_prefix}/lib"
+export systemd_user_unitdir = "${nonarch_libdir}/systemd/user"
+
# Override these in poky based distros
AGL_DEFAULT_DISTRO_FEATURES = "systemd opengl wayland pam bluetooth bluez5"
AGL_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot"