Skip to content
Snippets Groups Projects
Commit 5d4ced5a authored by Felix Gerking's avatar Felix Gerking
Browse files

weston-init: Configure weston.ini for Xwayland accordingly

Disable kiosk-shell and enable xwayland if x11 is included in the
DISTRO_FREATURES variable.

BCS 746-001308
parent 8c071a14
No related branches found
No related tags found
1 merge request!591Customizations for Xwayland and X11 features
......@@ -56,6 +56,12 @@ do_configure:append() {
# The graphical.target depends on a display manager which we don't have.
# Replace it with the multi-user.target.
sed -i ${WORKDIR}/weston.service -e "s|^WantedBy=.*|WantedBy=multi-user.target|"
if ${@bb.utils.contains('DISTRO_FEATURES','x11','true','false',d)}; then
# Disable kiosk-shell
sed -i ${WORKDIR}/weston.ini -e "s|^shell=kiosk-shell.so.*\$|#shell=kiosk-shell.so|"
# Enable xwayland
sed -i ${WORKDIR}/weston.ini -e "s|^#xwayland=true.*\$|xwayland=true|"
fi
}
do_configure:append:mx6ull() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment