summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBaptiste DURAND <baptiste.durand@open.eurogiciel.org>2014-10-15 16:07:30 +0200
committerBaptiste DURAND <baptiste.durand@open.eurogiciel.org>2014-10-15 07:35:19 -0700
commit7e84068d42dc7dd50905e898d23f4bf816e2f378 (patch)
tree89a0ed50fe41c989d2627cdab1db9d946e4de670 /scripts
parent591fbbd9b1239c9670fc25b84adbfa42d43b500c (diff)
downloadmeta-7e84068d42dc7dd50905e898d23f4bf816e2f378.tar.gz
meta-7e84068d42dc7dd50905e898d23f4bf816e2f378.tar.bz2
meta-7e84068d42dc7dd50905e898d23f4bf816e2f378.zip
Add developer systemd user link to open pam session at bootsubmit/tizen_common/20141021.155716accepted/tizen/common/20141021.155803
To be able to launch app we need to open pam session for : starting user DBUS session add wayland socket symbolic link BUG-Tizen=TC-1699 Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org> Change-Id: I02dababe7542c91e716a362b6d9c7dba06e711b1
Diffstat (limited to 'scripts')
-rw-r--r--scripts/common-desktop-applications.post2
-rw-r--r--scripts/common-wayland.post4
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/common-desktop-applications.post b/scripts/common-desktop-applications.post
index db4d7b2..cca1bd1 100644
--- a/scripts/common-desktop-applications.post
+++ b/scripts/common-desktop-applications.post
@@ -2,7 +2,7 @@
echo "############### common-desktop-applications.post ################"
# call function defined in meta-generic
-for user in alice bob carol guest; do
+for user in alice bob carol guest developer; do
generic_desktop_applications_fix_userhome $user
done
diff --git a/scripts/common-wayland.post b/scripts/common-wayland.post
index b1e71ad..088c0ba 100644
--- a/scripts/common-wayland.post
+++ b/scripts/common-wayland.post
@@ -2,7 +2,7 @@
echo "#################### common-wayland.post ##################"
# add users to display group
-for user in alice bob carol guest; do
+for user in alice bob carol guest developer; do
if generic_base_user_exists $user; then
/usr/sbin/groupmod -A $user display
fi
@@ -12,7 +12,7 @@ done
# graphical sessions)
unitdir=/usr/lib/systemd/system
mkdir -p $unitdir/graphical.target.wants
-for user in alice bob carol guest; do
+for user in alice bob carol guest developer; do
generic_base_user_exists $user || continue
uid=$(getent passwd $user|cut -f3 -d':')
ln -s ../user-session-launch@.service $unitdir/graphical.target.wants/user-session-launch@seat0-$uid.service