summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-11-22 14:27:59 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-11-24 09:55:54 +0000
commit46d287faa6b72778dbe7652cde71e5def0f94747 (patch)
treed2eac91af49e126659ab94fbcfbac95b4db59854 /meta
parent9d1697e51dee64af7c37172e4d338e39357bac50 (diff)
downloadpoky-46d287faa6b72778dbe7652cde71e5def0f94747.tar.gz
image: Include psplash only when screen machine feature is enabled
base-image boots in degraded mode when using systems without display system since there is no fb device detected and pslash service would fail to start. Removing this image feature means that core-image-base is complete for headless devices [RP: tweak the false case so it builds] (From OE-Core rev: 7a6dbad7bf12d2f27f21a81a31a5173cacb49228) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/image.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 6c759fdf70..8a46b4852c 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -53,7 +53,7 @@ FEATURE_INSTALL_OPTIONAL[vardepvalue] = "${FEATURE_INSTALL_OPTIONAL}"
53 53
54# Define some very basic feature package groups 54# Define some very basic feature package groups
55FEATURE_PACKAGES_package-management = "${ROOTFS_PKGMANAGE}" 55FEATURE_PACKAGES_package-management = "${ROOTFS_PKGMANAGE}"
56SPLASH ?= "psplash" 56SPLASH ?= "${@bb.utils.contains("MACHINE_FEATURES", "screen", "psplash", "", d)}"
57FEATURE_PACKAGES_splash = "${SPLASH}" 57FEATURE_PACKAGES_splash = "${SPLASH}"
58 58
59IMAGE_INSTALL_COMPLEMENTARY = '${@complementary_globs("IMAGE_FEATURES", d)}' 59IMAGE_INSTALL_COMPLEMENTARY = '${@complementary_globs("IMAGE_FEATURES", d)}'