Add wayland specific env over-rides for the WRT
[profile/ivi/meta-ivi.git] / scripts / base-weston-default.post
1 # base-weston-default.post
2 mkdir -p /usr/lib/systemd/system/graphical.target.wants
3 ln -sf ../user-session@.service /usr/lib/systemd/system/graphical.target.wants/user-session@1000.service
4 ln -sf weston.target  /usr/lib/systemd/user/default.target
5
6 # Add over-riding environment to enable the web runtime to
7 # run on an IVI image as a different user then the tizen user
8 cat > /etc/sysconfig/wrt <<EOF
9 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/dbus/user_bus_socket
10 XDG_RUNTIME_DIR=/run/user/1000
11 ELM_ENGINE=wayland_egl
12 ECORE_EVAS_ENGINE=wayland_egl
13 EOF