diff options
author | Pavel Zhukov <pavel@zhukoff.net> | 2021-09-15 10:50:37 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-11 18:41:02 +0100 |
commit | c8aa0222ce2be647911114aaebcbb0d55d7caf87 (patch) | |
tree | a8af8a566741de384b5bd1a7680bf433fa8606d3 /meta/recipes-graphics/wayland/weston | |
parent | 665c8ee52a3d1c636a72df5668da397d9c636454 (diff) | |
download | openembedded-core-contrib-c8aa0222ce2be647911114aaebcbb0d55d7caf87.tar.gz |
weston: wrapper for weston modules argument
Due to custom option parser implementation weston accepts only one
argument of a given type. As the result if multiple modules add
multiple --modules agruments only last will be used. This fix
introduces wrapper around modules in terms of weston-init to prepare
proper modules argument for weston and adds systemd-notify module into
weston-init module to support Type=notify in systemd service file.
Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'meta/recipes-graphics/wayland/weston')
-rw-r--r-- | meta/recipes-graphics/wayland/weston/systemd-notify.weston-start | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/recipes-graphics/wayland/weston/systemd-notify.weston-start b/meta/recipes-graphics/wayland/weston/systemd-notify.weston-start new file mode 100644 index 0000000000..a97e7b38d9 --- /dev/null +++ b/meta/recipes-graphics/wayland/weston/systemd-notify.weston-start @@ -0,0 +1,9 @@ +#!/bin/sh + +# SPDX-FileCopyrightText: Huawei Inc. +# SPDX-License-Identifier: Apache-2.0 + + +if [[ -x "/usr/lib/weston/systemd-notify.so" ]]; then + add_weston_module "systemd-notify.so" +fi |