Add wayland specific env over-rides for the WRT 97/5797/1 accepted/tizen/20130717.192936 submit/tizen/20130717.165436 submit/tizen/20130717.195018
authorRusty Lynch <rusty.lynch@intel.com>
Wed, 17 Jul 2013 16:52:50 +0000 (09:52 -0700)
committerRusty Lynch <rusty.lynch@intel.com>
Wed, 17 Jul 2013 16:53:52 +0000 (09:53 -0700)
Change-Id: I9918089da2374a5df008a783fff6a9b4f67408b5

packaging/meta-ivi.changes
scripts/base-weston-default.post

index f0883b7..b036bae 100644 (file)
@@ -1,3 +1,6 @@
+* Wed Jul 17 2013 Rusty Lynch <rusty.lynch@intel.com> accepted/tizen/20130716.235443@d791d6c
+- Add wayland specific env over-rides for the WRT
+
 * Thu Jul 11 23:21:30 UTC 2013 - tracy.graydon@intel.com
 - Update neard package name from neard-tizen to neard 
 
index 8b416e3..82a9b52 100644 (file)
@@ -2,3 +2,12 @@
 mkdir -p /usr/lib/systemd/system/graphical.target.wants
 ln -sf ../user-session@.service /usr/lib/systemd/system/graphical.target.wants/user-session@1000.service
 ln -sf weston.target  /usr/lib/systemd/user/default.target
+
+# Add over-riding environment to enable the web runtime to
+# run on an IVI image as a different user then the tizen user
+cat > /etc/sysconfig/wrt <<EOF
+DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/dbus/user_bus_socket
+XDG_RUNTIME_DIR=/run/user/1000
+ELM_ENGINE=wayland_egl
+ECORE_EVAS_ENGINE=wayland_egl
+EOF
\ No newline at end of file