From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by arago-project.org (Postfix) with ESMTPS id 43B3C5298A for ; Tue, 4 Dec 2018 19:50:44 +0000 (UTC) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id wB4JoXM1055455 for ; Tue, 4 Dec 2018 13:50:33 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1543953033; bh=EFoKeSqfUAurLLALTFQj37FT2LHpfGykzflzUibR+io=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=MdTzQyqy4CUDc5n3ySdgBRl66s4jmW4HRo126/vJT3b0H5TfcMxjcQ8y9CrAt9fFj QFsKpmfoKkMhV68ulYmpogaW5KXLiMsLJlKlHFvCx9ynfIsxa44GFdDVkjxdlu+S+x PmzjnKLttxJOtfmNIXx2bNVIdWrHfaMXAoUdxqMY= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id wB4JoX9t007807 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Tue, 4 Dec 2018 13:50:33 -0600 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Tue, 4 Dec 2018 13:50:32 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Tue, 4 Dec 2018 13:50:32 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id wB4JoWu0001765; Tue, 4 Dec 2018 13:50:32 -0600 Date: Tue, 4 Dec 2018 14:50:32 -0500 From: Denys Dmytriyenko To: Hongmei Gou Message-ID: <20181204195032.GP6887@beryl> References: <1543952138-1375-1-git-send-email-a0271529@ti.com> MIME-Version: 1.0 In-Reply-To: <1543952138-1375-1-git-send-email-a0271529@ti.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Cc: meta-arago@arago-project.org Subject: Re: [rocko/master] [PATCH] matrix-gui: update matrix-gui-2.0.service X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2018 19:50:44 -0000 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline On Tue, Dec 04, 2018 at 02:35:38PM -0500, Hongmei Gou wrote: > * 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 > > Signed-off-by: Hongmei Gou > --- > .../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(-) > > diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui/matrix-gui-2.0.service b/meta-arago-extras/recipes-core/matrix/matrix-gui/matrix-gui-2.0.service > index 3ce1024..cd87d8b 100644 > --- a/meta-arago-extras/recipes-core/matrix/matrix-gui/matrix-gui-2.0.service > +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui/matrix-gui-2.0.service > @@ -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. > [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] > 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 c79f13e..064e27d 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 > @@ -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" > > -- > 1.9.1 > > _______________________________________________ > meta-arago mailing list > meta-arago@arago-project.org > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago