[meta-arago,master/dunfell] matrix-gui: Disable auto-startup for am62xx-evm

Message ID 20220519214808.1853-1-reatmon@ti.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [meta-arago,master/dunfell] matrix-gui: Disable auto-startup for am62xx-evm | expand

Commit Message

Ryan Eatmon May 19, 2022, 9:48 p.m. UTC
There are some issues related to auto-starting the matrix-gui on
am62xx-evm.  It can still be run manually if desired.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Etheridge, Darren May 19, 2022, 9:51 p.m. UTC | #1
Ryan,

On 5/19/2022 4:48 PM, Ryan Eatmon via lists.yoctoproject.org wrote:
> There are some issues related to auto-starting the matrix-gui on
> am62xx-evm.  It can still be run manually if desired.
> 
> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
> ---
>   meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb | 4 +++-
>   1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb
> index e67decd6..4cbd7174 100644
> --- a/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb
> +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb
> @@ -5,10 +5,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a886c9ef769b2d8271115d2502512e5d"
>   
>   SECTION = "multimedia"
>   
> -PR = "r37"
> +PR = "r38"
>   
>   SYSTEMD_SERVICE_${PN} = "matrix-gui-2.0.service"
>   
> +SYSTEMD_AUTO_ENABLE_am62xx-evm = "disable"
> +

I like this method much better than the earlier patch, and it works 
great. Matrix doesn't autostart on boot, but it can still be manually 
started with /etc/init.d/matrix-gui-2.0 start.

Tested-by: Darren Etheridge <detheridge@ti.com>


>   PACKAGE_ARCH = "${MACHINE_ARCH}"
>   
>   inherit systemd
>

Patch

diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb
index e67decd6..4cbd7174 100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb
@@ -5,10 +5,12 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=a886c9ef769b2d8271115d2502512e5d"
 
 SECTION = "multimedia"
 
-PR = "r37"
+PR = "r38"
 
 SYSTEMD_SERVICE_${PN} = "matrix-gui-2.0.service"
 
+SYSTEMD_AUTO_ENABLE_am62xx-evm = "disable"
+
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 inherit systemd