From 3cfe59d1d10874fee11ee84f290406dd30a673bd Mon Sep 17 00:00:00 2001 From: Ronan Date: Fri, 20 Jan 2017 16:55:46 +0100 Subject: Add dependency to images * [SPEC-424] * yocto image should use dependency to facilitate maintenance * yocto image should have its own LICENSE defined Change-Id: I47a6c35f5b80947c5ef8b4761dd98b4bc82a5507 Signed-off-by: Ronan --- meta-agl/recipes-graphics/images/agl-image-weston.bb | 10 ++++------ meta-agl/recipes-graphics/images/agl-image-weston.inc | 7 +++++++ .../packagegroups/packagegroup-agl-image-weston.bb | 16 ++++++++++++++++ 3 files changed, 27 insertions(+), 6 deletions(-) create mode 100644 meta-agl/recipes-graphics/images/agl-image-weston.inc create mode 100644 meta-agl/recipes-graphics/packagegroups/packagegroup-agl-image-weston.bb (limited to 'meta-agl/recipes-graphics') diff --git a/meta-agl/recipes-graphics/images/agl-image-weston.bb b/meta-agl/recipes-graphics/images/agl-image-weston.bb index a5475222d..bc449795d 100644 --- a/meta-agl/recipes-graphics/images/agl-image-weston.bb +++ b/meta-agl/recipes-graphics/images/agl-image-weston.bb @@ -1,11 +1,9 @@ SUMMARY = "A very basic Wayland image with a terminal" -IMAGE_FEATURES += "splash package-management ssh-server-dropbear" +require agl-image-weston.inc LICENSE = "MIT" -inherit core-image distro_features_check - -REQUIRED_DISTRO_FEATURES = "wayland" - -CORE_IMAGE_BASE_INSTALL += "weston weston-examples" +IMAGE_INSTALL_append = "\ + packagegroup-agl-image-weston \ + " diff --git a/meta-agl/recipes-graphics/images/agl-image-weston.inc b/meta-agl/recipes-graphics/images/agl-image-weston.inc new file mode 100644 index 000000000..947d22b50 --- /dev/null +++ b/meta-agl/recipes-graphics/images/agl-image-weston.inc @@ -0,0 +1,7 @@ +require recipes-core/images/agl-image-minimal.inc + +IMAGE_FEATURES += "splash package-management ssh-server-dropbear" + +inherit distro_features_check + +REQUIRED_DISTRO_FEATURES = "wayland" diff --git a/meta-agl/recipes-graphics/packagegroups/packagegroup-agl-image-weston.bb b/meta-agl/recipes-graphics/packagegroups/packagegroup-agl-image-weston.bb new file mode 100644 index 000000000..c92c60f90 --- /dev/null +++ b/meta-agl/recipes-graphics/packagegroups/packagegroup-agl-image-weston.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "The minimal set of packages required for basic Wayland image" +LICENSE = "MIT" + +inherit packagegroup + +PACKAGES = "\ + packagegroup-agl-image-weston \ + " + +ALLOW_EMPTY_${PN} = "1" + +RDEPENDS_${PN} += "weston weston-examples" + +RDEPENDS_${PN} += "\ + packagegroup-agl-image-minimal \ + " -- cgit 1.2.3-korg