[meta-ti] [RFC: PATCH 1] ti-hw-bringup-image: fix 'no LICENSE' parsing error when meta-angstrom is not used

Denys Dmytriyenko denys at ti.com
Thu Sep 13 23:46:51 PDT 2012


When meta-angstrom is not used in BBLAYERS, parsing of ti-hw-bringup-image and
all other cloud9-*image recipes in recipes-misc/ fails with "No LICENSE field
set" error message, as they use the base systemd-image recipe from meta-angstrom
that sets the license.

This workaround makes the recipes parse by duplicating the license info locally.
They still cannot be built though, as the base systemd-image is not available
w/o referencing meta-angstrom.

Signed-off-by: Denys Dmytriyenko <denys at ti.com>
---
 recipes-misc/images/ti-hw-bringup-image.bb |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/recipes-misc/images/ti-hw-bringup-image.bb b/recipes-misc/images/ti-hw-bringup-image.bb
index 9490098..0590445 100644
--- a/recipes-misc/images/ti-hw-bringup-image.bb
+++ b/recipes-misc/images/ti-hw-bringup-image.bb
@@ -2,6 +2,10 @@
 
 include recipes-images/angstrom/systemd-image.bb
 
+# Repeat the license info here, if systemd-image.bb from meta-angstrom is not available
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
+
 EXTRA_MACHINE_IMAGE_INSTALL ?= ""
 
 # Hokey-pokey workaround for MUSB bugs
-- 
1.7.8.6




More information about the meta-ti mailing list