It isn't possible to build core-image-weston out of the box (even though it is a recommended target after setting up the build env), because it requires the non-default "pam" DISTRO_FEATURE: ``` $ bitbake core-image-weston Loading cache: 100% |#########################################################################################################################| Time: 0:00:00 Loaded 0 entries from dependency cache. Parsing recipes: 100% |#######################################################################################################################| Time: 0:00:11 Parsing of 950 .bb files complete (0 cached, 950 parsed). 1978 targets, 49 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies ERROR: Nothing RPROVIDES 'weston-xwayland' (but /cocto/aaa/oe-core/meta/recipes-graphics/images/core-image-weston.bb RDEPENDS on or otherwise requires it) weston RPROVIDES weston-xwayland but was skipped: using DISTRO 'nodistro', which is missing required DISTRO_FEATURES: 'pam' NOTE: Runtime target 'weston-xwayland' is unbuildable, removing... Missing or unbuildable dependency chain was: ['weston-xwayland'] ERROR: Required build target 'core-image-weston' has no buildable providers. Missing or unbuildable dependency chain was: ['core-image-weston', 'weston-xwayland'] Summary: There were 2 ERROR messages, returning a non-zero exit code. ```
Not clear how to solve this, see discussion thread: [OE-core] [[PATCHv3] meta: Add pam to the defaults if using systemd https://lists.openembedded.org/g/openembedded-core/message/240487