Modify xorg.service.in to support Tizen 2.2 releast 97/8797/1 accepted/tizen/ivi/genivi tizen_ivi_genivi accepted/tizen/20130910.122948 accepted/tizen/20130910.183634 accepted/tizen/20130910.195244 accepted/tizen/20130910.203337 accepted/tizen/20130910.205531 accepted/tizen/20130912.214201 accepted/tizen/20130912.214202 accepted/tizen/20130913.064658 accepted/tizen/ivi/genivi/20140131.040443 ivi_oct_m2 submit/tizen/20130910.024848 submit/tizen/20130912.213458 submit/tizen_ivi_genivi/20140131.034339
authorSung-Jin Park <sj76.park@samsung.com>
Tue, 27 Aug 2013 07:49:27 +0000 (03:49 -0400)
committerSung-Jin Park <sj76.park@samsung.com>
Tue, 27 Aug 2013 07:49:27 +0000 (03:49 -0400)
Change-Id: I1d14031b3386bb36bb25609be4c5adb38c5e2ef7

packaging/xorg-launch-helper.spec
xorg.service.in

index 5992097..1f1f301 100644 (file)
@@ -1,6 +1,6 @@
 Name:          xorg-launch-helper
 Version:       4
-Release:       1
+Release:       2
 Summary:       Xorg service helper
 
 Group:         Graphics/X Window System
@@ -36,6 +36,12 @@ install -m 644 %{SOURCE1} %{buildroot}/etc/sysconfig/xorg
 install -m 0644 %{SOURCE2} %{buildroot}%{_prefix}/lib/systemd/user/
 ln -sf ../xorg_done.service %{buildroot}%{_prefix}/lib/systemd/user/xorg.target.wants
 
+# "-sharevt" option will be removed (only) for Tizen Emulator temporarily
+# by the request from Tizen SDK (kernel) team.
+%if 0%{?simulator}
+sed -i 's/-sharevts//g' %{buildroot}/etc/sysconfig/xorg
+%endif
+
 %files
 %manifest %{name}.manifest
 %license COPYING
index 6ee5ce0..6cda38a 100644 (file)
@@ -16,8 +16,10 @@ Description=Xorg server launch helper
 Before=xorg.target
 
 [Service]
-Type=notify
-ExecStart=@prefix@/bin/xorg-launch-helper :0 -nolisten tcp -noreset vt1
+EnvironmentFile=-/etc/sysconfig/xorg
+Type=forking
+OOMScoreAdjust=-1000
+ExecStart=@prefix@/bin/xorg-launch-helper $OPTIONS
 Restart=always
 RestartSec=10