All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: Anand Balagopalakrishnan <anandb@ti.com>
Cc: meta-arago@arago-project.org
Subject: Re: [PATCH 1/1] weston-init: add dependency on SGX DDK service
Date: Mon, 16 May 2016 11:12:40 -0400	[thread overview]
Message-ID: <20160516151240.GG16188@edge> (raw)
In-Reply-To: <1463390723-32245-1-git-send-email-anandb@ti.com>

Anand,

This only solves one problem out of many - dependency on rc.pvr
Unless we rewrite the entirety of our custom weston init and runWeston 
scripts to become systemd units, we won't get all the fixes, workarounds 
and customizations we've added in the past years - calibration handling 
being the major of them...

-- 
Denys


On Mon, May 16, 2016 at 02:55:23PM +0530, Anand Balagopalakrishnan wrote:
> - systemd starts Weston service much before DDK initialization
> - Ensure that Weston service is started *after rc.pvr.service
> 
> Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
> ---
>  .../wayland/weston-init/weston.service             |   16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
>  create mode 100644 meta-arago-distro/recipes-graphics/wayland/weston-init/weston.service
> 
> diff --git a/meta-arago-distro/recipes-graphics/wayland/weston-init/weston.service b/meta-arago-distro/recipes-graphics/wayland/weston-init/weston.service
> new file mode 100644
> index 0000000..401c10e
> --- /dev/null
> +++ b/meta-arago-distro/recipes-graphics/wayland/weston-init/weston.service
> @@ -0,0 +1,16 @@
> +[Unit]
> +Description=Weston Wayland compositor startup
> +RequiresMountsFor=/run
> +After=rc.pvr.service
> +
> +[Service]
> +User=root
> +EnvironmentFile=-/etc/default/weston
> +Environment="XDG_RUNTIME_DIR=/run/user/root"
> +ExecStartPre=/bin/mkdir -p /run/user/root
> +ExecStartPre=/bin/chmod 0700 /run/user/root
> +ExecStart=/usr/bin/openvt -v -e /usr/bin/weston -- $OPTARGS
> +
> +[Install]
> +WantedBy=multi-user.target
> +
> -- 
> 1.7.9.5
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


  reply	other threads:[~2016-05-16 15:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-16  9:25 [PATCH 1/1] weston-init: add dependency on SGX DDK service Anand Balagopalakrishnan
2016-05-16 15:12 ` Denys Dmytriyenko [this message]
2016-05-17 16:42   ` Balagopalakrishnan, Anand
2016-05-17 17:24     ` Denys Dmytriyenko
2016-05-18  7:26       ` Balagopalakrishnan, Anand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160516151240.GG16188@edge \
    --to=denys@ti.com \
    --cc=anandb@ti.com \
    --cc=meta-arago@arago-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.