From 1a70860b4438d4e0259ef3b40c9f890d9695e059 Mon Sep 17 00:00:00 2001 From: Tadao Tanikawa Date: Wed, 9 Dec 2015 13:27:29 +0900 Subject: 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 --- meta-agl/conf/distro/poky-agl.conf | 5 +++++ 1 file changed, 5 insertions(+) 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" -- cgit 1.2.3-korg