]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
features_check: improve error message for missing required DISTRO_FEATURES
authorWalter Werner SCHNEIDER <contact@schnwalter.eu>
Thu, 6 Nov 2025 12:01:20 +0000 (14:01 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 10 Nov 2025 17:56:48 +0000 (17:56 +0000)
commitccbdf2041b9f45e01f04d268a01ed4431c831176
treeac88383851315d37a5ee5f17d6bb8582c2eda2c6
parentde5f42a91f01a5de4c12dc4c7177e822c7009337
features_check: improve error message for missing required DISTRO_FEATURES

The original message for REQUIRED_DISTRO_FEATURES entries that were
missing from DISTRO_FEATURES was:

ERROR: Nothing PROVIDES 'core-image-weston'
core-image-weston was skipped: missing required distro feature 'wayland'
(not in DISTRO_FEATURES)

For newcomers, this is error message doesn't provide enough information to
identify the root cause, which could be: using the wrong DISTRO. This patch
changes the error message to include the distro name:

ERROR: Nothing PROVIDES 'core-image-weston'
core-image-weston was skipped: using DISTRO 'nodistro', which is missing
required DISTRO_FEATURES: 'wayland'

Signed-off-by: Walter Werner SCHNEIDER <contact@schnwalter.eu>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
meta/classes-recipe/features_check.bbclass