summaryrefslogtreecommitdiff
path: root/recipes-images/images/graphical-tdx-image.bb
blob: 169b05b73b6c9e8f647c0e46d34cfeedbdd7e060 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require tdx-reference-minimal-image.bb

SUMMARY = "Toradex Embedded Linux Graphical Image"
DESCRIPTION = "Image with a graphical interface, either using weston or X11"

#Prefix to the resulting deployable tarball name
export IMAGE_BASENAME = "Graphical-Image"

SYSTEMD_DEFAULT_TARGET = "graphical.target"

IMAGE_FEATURES += " \
    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \
       bb.utils.contains('DISTRO_FEATURES',     'x11', 'x11', \
                                                       '', d), d)} \
"

IMAGE_INSTALL += " \
    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', \
                         'weston weston-init weston-examples wayland-terminal-launch', '', d)} \
    ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', \
                         'weston-xwayland xterm', \
      bb.utils.contains('DISTRO_FEATURES', 'x11', 'x-window-xterm', '', d), d)} \
"