1 # Initialize the native application database
4 # adjust app group: main group 'users', extra group 'app', 'weston-launch'
5 /usr/sbin/usermod -g users app
6 /usr/sbin/usermod -G app,weston-launch,video app
8 # Add over-riding environment to enable the web runtime to
9 # run on an IVI image as a different user then the tizen user
10 # Some notes on some of the variables:
11 # - ELM_THEME is needed in order for the wrt to have visible content
12 # - WRT_PROCESS_POOL_DISABLE is a work around for TIVI-2062
13 cat > /etc/sysconfig/wrt <<EOF
14 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/5000/dbus/user_bus_socket
15 XDG_RUNTIME_DIR=/run/user/5000
16 ELM_ENGINE=wayland_egl
17 ECORE_EVAS_ENGINE=wayland_egl
18 ELM_THEME=tizen-HD-light
19 WRT_PROCESS_POOL_DISABLE=1
22 # Use the same over-rides for the native prelaunch daemon
23 cp /etc/sysconfig/wrt /etc/sysconfig/launchpad