From eee90e7bb5cb01bbdb9f0b77fea7c8ddb5c06a3d Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Sat, 4 May 2019 14:24:42 +0200 Subject: images: install the xserver depending on distro features This is a follow-up to: e1026cf43 images: do not explicitely install ${XSERVER} Signed-off-by: Max Krummenacher --- recipes-images/images/qt-x11-image.bb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'recipes-images/images/qt-x11-image.bb') diff --git a/recipes-images/images/qt-x11-image.bb b/recipes-images/images/qt-x11-image.bb index 0a81904..a3d0584 100644 --- a/recipes-images/images/qt-x11-image.bb +++ b/recipes-images/images/qt-x11-image.bb @@ -18,6 +18,12 @@ IMAGE_NAME = "${MACHINE}_${IMAGE_BASENAME}" SYSTEMD_DEFAULT_TARGET = "graphical.target" +IMAGE_FEATURES += " \ + ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \ + bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \ + '', d), d)} \ +" + IMAGE_LINGUAS = "en-us" #IMAGE_LINGUAS = "de-de fr-fr en-gb en-us pt-br es-es kn-in ml-in ta-in" #ROOTFS_POSTPROCESS_COMMAND += 'install_linguas; ' -- cgit v1.2.3