Skip to contentSkip to conversation

matrix-gui: update matrix-gui-2.0.service

PATCH Superseded Hongmei Gou 3 participants 3 messages Dec 4, 2018

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 matrix-gui: update matrix-gui-2.0.service

* Add "Requires=weston.service" to make matrix-gui start only after weston has successfully started

* Match matrix-gui-2.0.service with SysVinit auto-generated service to ensure reliable matrxi-gui startup from booting

---
 .../recipes-core/matrix/matrix-gui/matrix-gui-2.0.service        | 9 +++++++++
 meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb          | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)
meta-arago-extras/recipes-core/matrix/matrix-gui/matrix-gui-2.0.service +9 -0
index 3ce1024..cd87d8b 100644
@@ -1,9 +1,18 @@
 [Unit]
 Description=Matrix GUI
 After=weston.service
+Requires=weston.service
+Before=graphical.target
+Before=thermal-zone-init.service
 
 [Service]
 Type=forking
+Restart=no
+TimeoutSec=5min
+IgnoreSIGPIPE=no
+KillMode=process
+GuessMainPID=no
+RemainAfterExit=yes
 ExecStart=/etc/init.d/matrix-gui-2.0 start
 
 [Install]
meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb +1 -1
index c79f13e..064e27d 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a886c9ef769b2d8271115d2502512e5d"
 
 SECTION = "multimedia"
 
-PR = "r36"
+PR = "r37"
 
 SYSTEMD_SERVICE_${PN} = "matrix-gui-2.0.service"
 
Signature · 1 line
1.9.1
#1 lore raw
Quoted 17 lines · Hongmei Gou

* Add "Requires=weston.service" to make matrix-gui start only after weston has successfully started

* Match matrix-gui-2.0.service with SysVinit auto-generated service to ensure reliable matrxi-gui startup from booting

---
 .../recipes-core/matrix/matrix-gui/matrix-gui-2.0.service        | 9 +++++++++
 meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb          | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)
meta-arago-extras/recipes-core/matrix/matrix-gui/matrix-gui-2.0.service +0 -0
index 3ce1024..cd87d8b 100644

meta-arago-extras/recipes-core/matrix/matrix-gui/matrix-gui-2.0.service line 7

Quoted 7 lines
meta-arago-extras/recipes-core/matrix/matrix-gui/matrix-gui-2.0.service +3 -0
@@ -1,9 +1,18 @@
 [Unit]
 Description=Matrix GUI
 After=weston.service
+Requires=weston.service
+Before=graphical.target
 
+Before=thermal-zone-init.service

I don't believe this one should be added - there's no dependency between the two and thermal-zone-init may be gone in the future or on some platforms.

Quoted 31 lines
meta-arago-extras/recipes-core/matrix/matrix-gui/matrix-gui-2.0.service +6 -0
 [Service]
 Type=forking
+Restart=no
+TimeoutSec=5min
+IgnoreSIGPIPE=no
+KillMode=process
+GuessMainPID=no
+RemainAfterExit=yes
 ExecStart=/etc/init.d/matrix-gui-2.0 start
 
 [Install]
meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb +1 -1
index c79f13e..064e27d 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a886c9ef769b2d8271115d2502512e5d"
 
 SECTION = "multimedia"
 
-PR = "r36"
+PR = "r37"
 
 SYSTEMD_SERVICE_${PN} = "matrix-gui-2.0.service"
 
Signature · 6 lines
1.9.1

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
#2 lore raw
Quoted 37 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Tuesday, December 04, 2018 2:51 PM
To: Gou, Hongmei
Cc: [email protected]
Subject: Re: [meta-arago] [rocko/master] [PATCH] matrix-gui: update matrix- gui-2.0.service

Quoted 9 lines · Hongmei Gou

* Add "Requires=weston.service" to make matrix-gui start only after weston has successfully started

* Match matrix-gui-2.0.service with SysVinit auto-generated service to ensure reliable matrxi-gui startup from booting

---
 .../recipes-core/matrix/matrix-gui/matrix-gui-2.0.service        | 9

+++++++++

Review

Quoted 4 lines
 meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb          | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)
(quoted diff) +0 -0

2.0.service b/meta-arago-extras/recipes-core/matrix/matrix-gui/matrix-gui- 2.0.service

Quoted 2 lines

index 3ce1024..cd87d8b 100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui/matrix-gui-

2.0.service

Quoted 1 line

+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui/matrix-gui-

2.0.service

Quoted 6 lines
meta-arago-extras/recipes-core/matrix/matrix-gui/matrix-gui-2.0.service +2 -0
@@ -1,9 +1,18 @@
 [Unit]
 Description=Matrix GUI
 After=weston.service
+Requires=weston.service
+Before=graphical.target
Quoted 5 lines

meta-arago-extras/recipes-core/matrix/matrix-gui/matrix-gui-2.0.service line 6

Quoted 1 line
meta-arago-extras/recipes-core/matrix/matrix-gui/matrix-gui-2.0.service +1 -0
+Before=thermal-zone-init.service

I don't believe this one should be added - there's no dependency between the
two and thermal-zone-init may be gone in the future or on some platforms.

Yes, you are right. Will submit a V2 patch to remove this.

Quoted 35 lines

Review

Quoted 14 lines
meta-arago-extras/recipes-core/matrix/matrix-gui/matrix-gui-2.0.service +6 -0
 [Service]
 Type=forking
+Restart=no
+TimeoutSec=5min
+IgnoreSIGPIPE=no
+KillMode=process
+GuessMainPID=no
+RemainAfterExit=yes
 ExecStart=/etc/init.d/matrix-gui-2.0 start
 
 [Install]
(quoted diff) +0 -0

b/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb

meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb LIC_FILES_CHKSUM =

Quoted 4 lines

index c79f13e..064e27d 100644

meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb +0 -0
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM =

"file://LICENSE;md5=a886c9ef769b2d8271115d2502512e5d"

Quoted 15 lines
meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb +1 -2
 SECTION = "multimedia"
 
-PR = "r36"
+PR = "r37"
 
 SYSTEMD_SERVICE_${PN} = "matrix-gui-2.0.service"
 
--

1.9.1

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago