meta-tizen: Tmp remove smack label exec
authorRonan Le Martret <ronan@fridu.net>
Sat, 31 May 2014 13:21:38 +0000 (15:21 +0200)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 17:20:19 +0000 (09:20 -0800)
Change-Id: I0d115c2b52feba4259c5db924d949f9035efff96
(From meta-tizen rev: 37402ec4e35d8b4e023421b61c633f8f174340c9)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-tizen/recipes-tizen/systemd/files/user@.service [new file with mode: 0644]
meta-tizen/recipes-tizen/systemd/systemd-extraconf.inc

diff --git a/meta-tizen/recipes-tizen/systemd/files/user@.service b/meta-tizen/recipes-tizen/systemd/files/user@.service
new file mode 100644 (file)
index 0000000..52948fd
--- /dev/null
@@ -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
index 064d7d9..71760b5 100644 (file)
@@ -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 \