aboutsummaryrefslogtreecommitdiffstats
path: root/templates/feature
diff options
context:
space:
mode:
authorMartin Kelly <mkelly@xevo.com>2018-02-12 12:52:47 -0800
committerMartin Kelly <mkelly@xevo.com>2018-02-12 12:53:57 -0800
commitb3b44966ba43510da5da91175412c89d68ad8f83 (patch)
tree5078977cca751750aab2922c97de776294611977 /templates/feature
parent88a162a657936f14e8e1ac5d6a0c3b368d0e9a45 (diff)
move GPLv2 logic into agl-gplv2 feature
Currently, we hardcode GPLv2/GPLv3 logic directly into the poky-agl distro config, and in agl-demo. However, the recipes in meta-gplv2 are very old, poorly supported, and receive no security updates. So, they can easily cause issues. To allow the choice of both GPLv2 and GPLv3, refactor the meta-gplv2 logic into its own "agl-gplv2" feature. The default is GPLv3, which points to well-supported layers with security updates. However, by adding the "agl-gplv2" feature in aglsetup.h, the meta-gplv2 layer gets added to bblayers.conf and recipe versions get set to those in meta-gplv2. Change-Id: I62d7f2daa58b0690b5b27740257bd15097fcee5c Signed-off-by: Martin Kelly <mkelly@xevo.com>
Diffstat (limited to 'templates/feature')
-rw-r--r--templates/feature/agl-gplv2/50_bblayers.conf.inc1
-rw-r--r--templates/feature/agl-gplv2/50_local.conf.inc2
2 files changed, 3 insertions, 0 deletions
diff --git a/templates/feature/agl-gplv2/50_bblayers.conf.inc b/templates/feature/agl-gplv2/50_bblayers.conf.inc
new file mode 100644
index 000000000..4c31c45c5
--- /dev/null
+++ b/templates/feature/agl-gplv2/50_bblayers.conf.inc
@@ -0,0 +1 @@
+BBLAYERS =+ "${METADIR}/meta-gplv2"
diff --git a/templates/feature/agl-gplv2/50_local.conf.inc b/templates/feature/agl-gplv2/50_local.conf.inc
new file mode 100644
index 000000000..8e0d5df74
--- /dev/null
+++ b/templates/feature/agl-gplv2/50_local.conf.inc
@@ -0,0 +1,2 @@
+#see meta-agl/meta-agl/conf/include/agl-gplv2.inc
+require conf/include/agl-gplv2.inc