mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 12:32:12 +02:00
weston-init: fix weston not starting when xwayland is enabled
When xwayland PACKAGECONFIG option is set, xwayland is enabled in
weston.ini. However, if the xwayland module isn't installed, weston will
refuse to start with the following error message:
Failed to load module: /usr/lib/libweston-13/xwayland.so: cannot open shared object file: No such file or directory
Therefore, whenever the xwayland PACKAGECONFIG is set, weston-init
should depend on weston-xwayland to bring this module in.
Fixes: fdbe559c66c9 ("weston.init: enabled xwayland")
(From OE-Core rev: fa2314125318634108452af4e40c9eeee260767c)
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
54706243e2
commit
005c9350fb
@@ -84,7 +84,7 @@ USERADD_PACKAGES = "${PN}"
|
||||
#
|
||||
require ${THISDIR}/required-distro-features.inc
|
||||
|
||||
RDEPENDS:${PN} = "weston kbd"
|
||||
RDEPENDS:${PN} = "weston kbd ${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'weston-xwayland', '', d)}"
|
||||
|
||||
INITSCRIPT_NAME = "weston"
|
||||
INITSCRIPT_PARAMS = "start 9 5 2 . stop 20 0 1 6 ."
|
||||
|
||||
Reference in New Issue
Block a user