mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
core-image.bbclass: add a weston IMAGE_FEATURE, similar to x11-base
(From OE-Core rev: 5dd4bf88f59d3dddb5368163baba02f053eec502) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a05bd5630d
commit
eab334ade5
@@ -9,6 +9,7 @@
|
||||
#
|
||||
# Available IMAGE_FEATURES:
|
||||
#
|
||||
# - weston - Weston Wayland compositor
|
||||
# - x11 - X server
|
||||
# - x11-base - X server with minimal environment
|
||||
# - x11-sato - OpenedHand Sato environment
|
||||
@@ -37,6 +38,7 @@
|
||||
# - stateless-rootfs - systemctl-native not run, image populated by systemd at runtime
|
||||
# - splash - bootup splash screen
|
||||
#
|
||||
FEATURE_PACKAGES_weston = "packagegroup-core-weston"
|
||||
FEATURE_PACKAGES_x11 = "packagegroup-core-x11"
|
||||
FEATURE_PACKAGES_x11-base = "packagegroup-core-x11-base"
|
||||
FEATURE_PACKAGES_x11-sato = "packagegroup-core-x11-sato"
|
||||
|
||||
@@ -1,14 +1,12 @@
|
||||
SUMMARY = "A very basic Wayland image with a terminal"
|
||||
|
||||
IMAGE_FEATURES += "splash package-management ssh-server-dropbear hwcodecs"
|
||||
IMAGE_FEATURES += "splash package-management ssh-server-dropbear hwcodecs weston"
|
||||
|
||||
LICENSE = "MIT"
|
||||
|
||||
inherit core-image features_check
|
||||
inherit core-image
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "wayland"
|
||||
|
||||
CORE_IMAGE_BASE_INSTALL += "weston weston-init weston-examples wayland-utils gtk+3-demo clutter-1.0-examples"
|
||||
CORE_IMAGE_BASE_INSTALL += "gtk+3-demo clutter-1.0-examples"
|
||||
CORE_IMAGE_BASE_INSTALL += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'weston-xwayland matchbox-terminal', '', d)}"
|
||||
|
||||
QB_MEM = "-m 512"
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
SUMMARY = "Basic Weston compositor setup"
|
||||
DESCRIPTION = "Packages required to set up a basic working Weston session"
|
||||
PR = "r1"
|
||||
|
||||
inherit packagegroup features_check
|
||||
REQUIRED_DISTRO_FEATURES = "wayland"
|
||||
|
||||
RDEPENDS_${PN} = "\
|
||||
weston \
|
||||
weston-init \
|
||||
weston-examples \
|
||||
wayland-utils \
|
||||
"
|
||||
Reference in New Issue
Block a user