From 6b0fac2c7629f4ab0a667687209b194d68d864fd Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Sat, 31 May 2014 15:21:38 +0200 Subject: [PATCH] meta-tizen: Tmp remove smack label exec Change-Id: I0d115c2b52feba4259c5db924d949f9035efff96 (From meta-tizen rev: 37402ec4e35d8b4e023421b61c633f8f174340c9) Signed-off-by: Patrick Ohly --- meta-tizen/recipes-tizen/systemd/files/user@.service | 19 +++++++++++++++++++ .../recipes-tizen/systemd/systemd-extraconf.inc | 5 ++++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 meta-tizen/recipes-tizen/systemd/files/user@.service diff --git a/meta-tizen/recipes-tizen/systemd/files/user@.service b/meta-tizen/recipes-tizen/systemd/files/user@.service new file mode 100644 index 0000000..52948fd --- /dev/null +++ b/meta-tizen/recipes-tizen/systemd/files/user@.service @@ -0,0 +1,19 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=User Manager for %I +After=systemd-user-sessions.service + +[Service] +User=%I +PAMName=systemd-user +Type=notify +Environment=SHELL=%s +ExecStart=-/usr/lib/systemd/systemd --user +Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%I/dbus/user_bus_socket +Slice=user-%i.slice diff --git a/meta-tizen/recipes-tizen/systemd/systemd-extraconf.inc b/meta-tizen/recipes-tizen/systemd/systemd-extraconf.inc index 064d7d9..71760b5 100644 --- a/meta-tizen/recipes-tizen/systemd/systemd-extraconf.inc +++ b/meta-tizen/recipes-tizen/systemd/systemd-extraconf.inc @@ -1,4 +1,6 @@ -SRC_URI += "file://systemd-user" +SRC_URI += "file://systemd-user \ + file://user@.service \ + " systemd_files += "${sysconfdir}/*" @@ -42,6 +44,7 @@ do_install_append() { rm ${D}${sysconfdir}/timezone install -m 0644 ${WORKDIR}/systemd-user ${D}${sysconfdir}/pam.d + install -m 0644 ${WORKDIR}/user@.service ${D}/usr/lib/systemd/system/ } EXTRA_OECONF = " --disable-manpages \ -- 2.7.4