diff options
author | Khang Nguyen <khang.nguyen.xw@renesas.com> | 2020-04-09 10:47:00 +0900 |
---|---|---|
committer | Khang Nguyen <khang.nguyen.xw@renesas.com> | 2020-05-04 18:17:34 +0900 |
commit | e805a5c751a7f417c5aa104fcbfc2d980cdcde84 (patch) | |
tree | 248b977bc1b51bc61d37d48c0c9e6c1efc23e6da /meta-rcar-gen3/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.0.bbappend | |
parent | 8254b2369ae338a6cec5a3c1d83b66888459710d (diff) |
rcar-gen3: weston-init: Fix XDG_RUNTIME_DIR issue
The gernerated weston.service is loaded simultaneously with
weston@.service [1]. Since YP3.1_M3, it causes an issue as follows:
| fatal: environment variable XDG_RUNTIME_DIR
| is set to "/run/user/0", which is not a directory.
This fixes the issue by changing weston init script in "/etc/init.d" to
weston@, the generated unit file becomes weston@.service located in
"run/systemd/generator.late" which has low precedence compared to the
same name unit file in "/lib/systemd/system".
[1]:
/lib/systemd/system/weston@.service
/run/systemd/generator.late/weston.service
Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com>
Signed-off-by: Duy Dang <duy.dang.yw@renesas.com>
Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
Change-Id: Icc80dc62e16f0a659d5ad7f1ab8eb590ac7d8dde
Diffstat (limited to 'meta-rcar-gen3/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.0.bbappend')
0 files changed, 0 insertions, 0 deletions