From 69dabb655f1c98924a60d19cd442590ccb258ce5 Mon Sep 17 00:00:00 2001 From: Ronan Date: Fri, 20 Jan 2017 16:18:55 +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: Ie7f2e48bab9cc194ce10e7d364e150d2678e64d6 Signed-off-by: Ronan --- .../images/agl-demo-platform-crosssdk.bb | 2 + recipes-platform/images/agl-demo-platform-html5.bb | 33 ++-------- .../images/agl-demo-platform-html5.inc | 2 + recipes-platform/images/agl-demo-platform-qa.bb | 2 + recipes-platform/images/agl-demo-platform.bb | 77 ++-------------------- recipes-platform/images/agl-demo-platform.inc | 3 + 6 files changed, 17 insertions(+), 102 deletions(-) create mode 100644 recipes-platform/images/agl-demo-platform-html5.inc create mode 100644 recipes-platform/images/agl-demo-platform.inc (limited to 'recipes-platform/images') diff --git a/recipes-platform/images/agl-demo-platform-crosssdk.bb b/recipes-platform/images/agl-demo-platform-crosssdk.bb index 97650157..b7cf3f0d 100644 --- a/recipes-platform/images/agl-demo-platform-crosssdk.bb +++ b/recipes-platform/images/agl-demo-platform-crosssdk.bb @@ -6,6 +6,8 @@ to form a standalone cross SDK." require agl-demo-platform.bb +LICENSE = "MIT" + IMAGE_FEATURES_append = "dev-pkgs" IMAGE_INSTALL_append = "kernel-dev" diff --git a/recipes-platform/images/agl-demo-platform-html5.bb b/recipes-platform/images/agl-demo-platform-html5.bb index 0088efb1..c9247a85 100644 --- a/recipes-platform/images/agl-demo-platform-html5.bb +++ b/recipes-platform/images/agl-demo-platform-html5.bb @@ -1,35 +1,10 @@ -# Base image -require recipes-ivi/images/agl-image-ivi.inc - DESCRIPTION = "AGL Demo Platform image currently contains a simple HMI and \ demos." -IMAGE_FEATURES_append = " \ - " +LICENSE = "MIT" -# add packages for demo platform (include demo apps) here -IMAGE_INSTALL_append = " \ - packagegroup-agl-core \ - packagegroup-agl-ivi \ - packagegroup-ivi-common-core \ - packagegroup-agl-demo-platform \ - " - -# fonts -IMAGE_TTF_FONTS = " \ - ttf-bitstream-vera \ - ttf-dejavu-sans \ - ttf-dejavu-sans-mono \ - ttf-dejavu-serif \ - " +require agl-demo-platform-html5.inc -# add packages for OpenIVI-HTML5 demo -IMAGE_INSTALL_append = " \ - openivi-html5 \ - linux-firmware-ath9k \ - can-utils \ - iproute2 \ - python-curses \ - dhcp-client \ - ${IMAGE_TTF_FONTS} \ +IMAGE_INSTALL_append = "\ + packagegroup-agl-demo-platform-html5 \ " diff --git a/recipes-platform/images/agl-demo-platform-html5.inc b/recipes-platform/images/agl-demo-platform-html5.inc new file mode 100644 index 00000000..3005abeb --- /dev/null +++ b/recipes-platform/images/agl-demo-platform-html5.inc @@ -0,0 +1,2 @@ +# Base image +require recipes-ivi/images/agl-image-ivi.inc diff --git a/recipes-platform/images/agl-demo-platform-qa.bb b/recipes-platform/images/agl-demo-platform-qa.bb index bec5e870..fa3f717d 100644 --- a/recipes-platform/images/agl-demo-platform-qa.bb +++ b/recipes-platform/images/agl-demo-platform-qa.bb @@ -3,6 +3,8 @@ SUMMARY = "A full set of AGL Distribution for testing as Quality Assurance" DESCRIPTION = "A full set of AGL Distribution. This image also has additional \ packages (e.g. commandline tools) for Quality Assurance(QA)." +LICENSE = "MIT" + require agl-demo-platform.bb IMAGE_INSTALL_append = " \ diff --git a/recipes-platform/images/agl-demo-platform.bb b/recipes-platform/images/agl-demo-platform.bb index ff64f136..297cb706 100644 --- a/recipes-platform/images/agl-demo-platform.bb +++ b/recipes-platform/images/agl-demo-platform.bb @@ -1,84 +1,15 @@ -# Base image -require recipes-ivi/images/agl-image-ivi.inc - DESCRIPTION = "AGL Demo Platform image currently contains a simple HMI and \ demos." +require agl-demo-platform.inc + +LICENSE = "MIT" + IMAGE_FEATURES_append = " \ " # add packages for demo platform (include demo apps) here IMAGE_INSTALL_append = " \ - packagegroup-agl-core \ - packagegroup-agl-ivi \ - packagegroup-ivi-common-core \ packagegroup-agl-demo-platform \ " -# fonts -IMAGE_TTF_FONTS = " \ - ttf-bitstream-vera \ - ttf-dejavu-sans \ - ttf-dejavu-sans-mono \ - ttf-dejavu-serif \ - " - -# add packages for CES2017 demo -# Only for porter as these kernel module sources -# are for the 3.10.x kernel only -MOST_DRIVERS = " " -MOST_DRIVERS_append = " \ - aim-cdev \ - aim-network \ - aim-sound \ - aim-v4l2 \ - hdm-dim2 \ - hdm-i2c \ - hdm-usb \ - mocca-usb \ - mostcore \ - " - -# HVAC dependencies depend on drivers above -IMAGE_MOST_HVAC = " " -IMAGE_MOST_HVAC_append = " \ - ${MOST_DRIVERS} \ - unicens \ - vod-server \ - " - -# can-lin is a binary and only for porter :( -IMAGE_MOST_HVAC_append_porter = " \ - can-lin \ - " - -# mapviewer and mapviewer-demo requires AGL CES2017 demo mock-up -IMAGE_MAPVIEWER = " " -IMAGE_MAPVIEWER_append_porter = " \ - mapviewer \ - mapviewer-demo \ - " - -IMAGE_AGL_APPS = " \ - hvac \ - mediaplayer \ - mixer \ - navigation \ - settings \ - " - -IMAGE_INSTALL_append = " \ - ces2017-demo \ - linux-firmware-ath9k \ - linux-firmware-ralink \ - can-utils \ - iproute2 \ - python-curses \ - dhcp-client \ - navigation \ - poiapp \ - ${IMAGE_MAPVIEWER} \ - ${IMAGE_MOST_HVAC} \ - ${IMAGE_AGL_APPS} \ - ${IMAGE_TTF_FONTS} \ - " diff --git a/recipes-platform/images/agl-demo-platform.inc b/recipes-platform/images/agl-demo-platform.inc new file mode 100644 index 00000000..97329130 --- /dev/null +++ b/recipes-platform/images/agl-demo-platform.inc @@ -0,0 +1,3 @@ +# Base image +require recipes-ivi/images/agl-image-ivi.inc + -- cgit 1.2.3-korg