From bfa042377488728bcdd65de2463bab7e437eeade Mon Sep 17 00:00:00 2001 From: =?utf8?q?K=C3=A9vin=20THIERRY?= Date: Wed, 28 May 2014 17:55:59 +0200 Subject: [PATCH] meta-tizen: Add missing files and symlinks MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I1a3f0714e846649ad2187bd48f603e5dd2457b22 (From meta-tizen rev: 8a52256d62b02f2b75308512cf8cd3cb65bd07d2) Signed-off-by: Kévin THIERRY Signed-off-by: Patrick Ohly --- .../user-session-units-extraconf.inc | 24 ++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/meta-tizen/recipes-tizen/user-session-units/user-session-units-extraconf.inc b/meta-tizen/recipes-tizen/user-session-units/user-session-units-extraconf.inc index 9f23380..d928fd3 100644 --- a/meta-tizen/recipes-tizen/user-session-units/user-session-units-extraconf.inc +++ b/meta-tizen/recipes-tizen/user-session-units/user-session-units-extraconf.inc @@ -1,6 +1,26 @@ do_install_append() { - rm -f ${D}/lib/systemd/user/dbus.service rm -f ${D}/lib/systemd/user/dbus.socket + + mkdir -p ${D}/lib/systemd/system/multi-user-target.wants + + ln -sf ${D}/lib/systemd/system/user-session-launch@.service ${D}/lib/systemd/system/multi-user-target.wants/user-session-launch@5001.service + ln -sf ${D}/lib/systemd/system/user-session-launch@.service ${D}/lib/systemd/system/multi-user-target.wants/user-session-launch@5002.service + ln -sf ${D}/lib/systemd/system/user-session-launch@.service ${D}/lib/systemd/system/multi-user-target.wants/user-session-launch@5003.service + ln -sf ${D}/lib/systemd/system/user-session-launch@.service ${D}/lib/systemd/system/multi-user-target.wants/user-session-launch@9999.service + + ln -sf ${D}/lib/systemd/system/user-session@.service ${D}/lib/systemd/system/multi-user-target.wants/user-session@5001.service + ln -sf ${D}/lib/systemd/system/user-session@.service ${D}/lib/systemd/system/multi-user-target.wants/user-session@5002.service + ln -sf ${D}/lib/systemd/system/user-session@.service ${D}/lib/systemd/system/multi-user-target.wants/user-session@5003.service + ln -sf ${D}/lib/systemd/system/user-session@.service ${D}/lib/systemd/system/multi-user-target.wants/user-session@9999.service + + mkdir -p ${D}/lib/systemd/user/default.target.wants + + echo "[Unit]" > ${D}/lib/systemd/user/default.target + echo "Description=User session default target" >> ${D}/lib/systemd/user/default.target + + ln -sf ${D}/lib/systemd/user/weston-user.service ${D}/lib/systemd/user/default.target.wants/weston-user.service + + ln -sf ${D}/lib/systemd/user/dbus.service ${D}/lib/systemd/user/default.target.wants/dbus.service } -user-session-units_files += "/lib/systemd/user" +user-session-units_files += "/lib/systemd/user/*" -- 2.7.4