Add environment variable DISPLAY to /etc/sysconfig/preload 01/11601/1
authorChengwei Yang <chengwei.yang@intel.com>
Thu, 31 Oct 2013 03:34:15 +0000 (11:34 +0800)
committerChengwei Yang <chengwei.yang@intel.com>
Thu, 31 Oct 2013 03:34:15 +0000 (11:34 +0800)
DISPLAY environment is necessary to to ecore_x_init(), which is the
ecore x lib used by several projects, includes the famous amd. Without
DISPLAY, amd will crash.

Bug: https://bugs.tizen.org/jira/browse/PTREL-137
Change-Id: I609024edc1710160104e5f332a7c0d88e52b2fce
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
scripts/Tizen-common-cleanup.post

index f07eb55..1b1657a 100644 (file)
@@ -3,3 +3,6 @@ pkg_initdb
 
 # Bug: https://bugs.tizen.org/jira/browse/TDIST-260
 INITDB=1 ail_initdb
+
+# Bug: https://bugs.tizen.org/jira/browse/PTREL-137
+echo "DISPLAY=:0" >> /etc/sysconfig/preload