From: Baptiste DURAND Date: Wed, 15 Oct 2014 14:07:30 +0000 (+0200) Subject: Add developer systemd user link to open pam session at boot X-Git-Tag: accepted/tizen/common/20141021.155803^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F70%2F28770%2F2;p=profile%2Fcommon%2Fmeta.git Add developer systemd user link to open pam session at boot 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 Change-Id: I02dababe7542c91e716a362b6d9c7dba06e711b1 --- 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