- ...
- Yocto
- production
- project creation
- SDK extension
- SimpleSwitch
- packages
- images
SIMPLESWITCH_SYSTEM_REQUIREMENTS#
you can use the SIMPLESWITCH_SYSTEM_REQUIREMENTS variable to set requirements on the base image used
SIMPLESWITCH_SYSTEM_REQUIREMENTS = "wayland"
You can use all information from Capabilities.
As a rule of thumb:
all attributes starting with
has<X>are available as<x>. E.g.hasWaylandbecomeswaylandif available, otherwise!waylandall attributes starting with
num<X>are available as<x0..x>. E.g.numCAN=2becomescan1,can2all purely string or list based attributes are unavailable
all requirements are lowercase by default.
Tip
You can write complex requirements by space separating them. E.g. if the SimpleSwitch™ package requires a graphical session with OpenGL3+ but won’t work on a device with audio available the string can be set to
SIMPLESWITCH_SYSTEM_REQUIREMENTS = "wayland opengl3 !audio"
and if you require at least one USB port in addition it would be
SIMPLESWITCH_SYSTEM_REQUIREMENTS = "wayland opengl3 !audio usb1"
See also
in the SimpleSwitch™ manifest: Depend on system services (capabilities)