projects
/
profile
/
ivi
/
meta-ivi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove default vconf keys post script
[profile/ivi/meta-ivi.git]
/
scripts
/
base-weston-default.post
diff --git
a/scripts/base-weston-default.post
b/scripts/base-weston-default.post
index
dd8ed08
..
1ccef6f
100644
(file)
--- a/
scripts/base-weston-default.post
+++ b/
scripts/base-weston-default.post
@@
-12,8
+12,10
@@
chown -R app:app /opt/home/app
# home dir must have the same label
chsmack -a User /opt/home/app
# home dir must have the same label
chsmack -a User /opt/home/app
-# base-weston-default.post
+# Enable a logind session for 'app' user on seat0 (the default seat for
+# graphical sessions)
mkdir -p /usr/lib/systemd/system/graphical.target.wants
mkdir -p /usr/lib/systemd/system/graphical.target.wants
+ln -s ../user-session-launch@.service /usr/lib/systemd/system/graphical.target.wants/user-session-launch@seat0-5000.service
ln -sf weston.target /usr/lib/systemd/user/default.target
# Add over-riding environment to enable the web runtime to
ln -sf weston.target /usr/lib/systemd/user/default.target
# Add over-riding environment to enable the web runtime to