meta-html5-framework: define html-only image 76/23076/3
authorJacobo Aragunde Pérez <jaragunde@igalia.com>
Wed, 27 Nov 2019 10:05:01 +0000 (11:05 +0100)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 6 Dec 2019 14:31:47 +0000 (14:31 +0000)
commitfca7f231bf522024d50303c8f6c6adc3b0b5dee6
tree78bf885c14d35af4055d8fa708f0c3dcb2695c12
parent179b11e41b192828a4667bc987bf42b3d9cfc4d2
meta-html5-framework: define html-only image

The layer now defines a standalone image agl-image-graphical-html5,
containing only the minimum packages to run the web application
manager (WAM). No webapps are included.

It redefines packagegroups to use the more standard names
agl-profile-graphical-html5 and agl-appfw-html5.

It also adds a dependency on agl-profile-graphical, so we don't
require users to add other features explicitly.

The .bbappends for agl-demo-platform* images have been removed, so the
layer doesn't depend on meta-agl-demo. We will provide image
definitions for WAM + demo apps in meta-agl-demo in a later commit.

To sum up, an HTML-only image can be built with:

  aglsetup.sh -m $MACHINE agl-html5-framework
  bitbake agl-image-graphical-html5

To add WAM to an agl-demo-platform image, both agl-demo and
agl-html5-framework features must be enabled, and this must be added
to local.conf or local.dev.inc:

  IMAGE_INSTALL_append = " packagegroup-agl-appfw-html5"

Bug-AGL: SPEC-2322

Change-Id: I648dd9f509faf77bf0c8520c9773de073865b90e
Signed-off-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
meta-html5-framework/recipes-platform/images/agl-demo-platform-crosssdk.bbappend [deleted file]
meta-html5-framework/recipes-platform/images/agl-demo-platform.bbappend [deleted file]
meta-html5-framework/recipes-platform/images/agl-image-graphical-html5.bb [new file with mode: 0644]
meta-html5-framework/recipes-platform/images/agl-image-graphical-html5.inc [new file with mode: 0644]
meta-html5-framework/recipes-platform/packagegroups/packagegroup-agl-appfw-html5.bb [new file with mode: 0644]
meta-html5-framework/recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb [deleted file]
meta-html5-framework/recipes-platform/packagegroups/packagegroup-agl-profile-graphical-html5.bb [new file with mode: 0644]
templates/feature/agl-html5-framework/included.dep [new file with mode: 0644]