summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Werner SCHNEIDER <contact@schnwalter.eu>2025-10-29 18:01:10 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-03 17:40:41 +0000
commit2ef4c3ac941ee41894ccdec59a5cbe7c7e677b86 (patch)
tree6ea1a76f143986a0f483a0d15abeae9d18971418
parentd5d5af8c4a15bd2114d76a7a29d8571410923694 (diff)
downloadpoky-2ef4c3ac941ee41894ccdec59a5cbe7c7e677b86.tar.gz
core-image-sato: Add x11 as required feature.
Even though x11 is currently a default DISTRO feature, even for nodistro, core-image-sato should require the x11 feature. Without the x11 in DISTRO_FEATURES, bitbake fails with the following: ERROR: Required build target 'core-image-sato' has no buildable providers. Missing or unbuildable dependency chain was: ['core-image-sato', 'packagegroup-core-x11-base'] With this change, the error changes to something more clear to new users of the project: ERROR: Nothing PROVIDES 'core-image-sato' core-image-sato was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES) (From OE-Core rev: bda8283c47d7b00eecee1464d4579350cdf37032) Signed-off-by: Walter Werner SCHNEIDER <contact@schnwalter.eu> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-sato/images/core-image-sato.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-sato/images/core-image-sato.bb b/meta/recipes-sato/images/core-image-sato.bb
index 5ff35d772c..8702bef8e9 100644
--- a/meta/recipes-sato/images/core-image-sato.bb
+++ b/meta/recipes-sato/images/core-image-sato.bb
@@ -8,7 +8,9 @@ IMAGE_FEATURES += "splash package-management x11-base x11-sato ssh-server-dropbe
8 8
9LICENSE = "MIT" 9LICENSE = "MIT"
10 10
11inherit core-image 11inherit core-image features_check
12
13REQUIRED_DISTRO_FEATURES = "x11"
12 14
13TOOLCHAIN_HOST_TASK:append = " nativesdk-intltool nativesdk-glib-2.0-utils" 15TOOLCHAIN_HOST_TASK:append = " nativesdk-intltool nativesdk-glib-2.0-utils"
14TOOLCHAIN_HOST_TASK:remove:task-populate-sdk-ext = " nativesdk-intltool nativesdk-glib-2.0-utils" 16TOOLCHAIN_HOST_TASK:remove:task-populate-sdk-ext = " nativesdk-intltool nativesdk-glib-2.0-utils"