summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe MacDonald <joe_macdonald@mentor.com>2015-02-18 22:43:56 -0500
committerJoe MacDonald <joe_macdonald@mentor.com>2015-02-18 22:43:56 -0500
commitd382d54f0a9a913791fca1d7f61e87fcfd32842b (patch)
tree3a04de0e98de2228adfb6b1af70a69b6e563d6fd
parent963eb209717eb16a3627806f49674cef015a8fca (diff)
downloadmeta-selinux-d382d54f0a9a913791fca1d7f61e87fcfd32842b.tar.gz
layer: update configuration and dependencies
Add in support for optional bbappends based on the presence of other layers in the project and move the lxc recipe to a meta-virtualization location. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r--README13
-rw-r--r--conf/layer.conf9
-rw-r--r--meta-virtualization/recipes-containers/lxc/lxc_%.bbappend (renamed from recipes-containers/lxc/lxc_%.bbappend)0
3 files changed, 18 insertions, 4 deletions
diff --git a/README b/README
index 926d880..3fe8af4 100644
--- a/README
+++ b/README
@@ -34,6 +34,19 @@ the Yocto Project website:
34 34
35http://www.yoctoproject.org 35http://www.yoctoproject.org
36 36
37This layer also optionally depends on the following layers:
38
39URI: git://github.com/openembedded/meta-oe.git
40branch: master
41revision: HEAD
42layers: meta-oe
43 meta-networking
44 meta-python
45
46URI: git://git.yoctoproject.org/meta-virtualization
47branch: master
48revision: HEAD
49
37 50
38Maintenance 51Maintenance
39----------- 52-----------
diff --git a/conf/layer.conf b/conf/layer.conf
index 723f5a8..39ae7bf 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -5,6 +5,11 @@ BBPATH .= ":${LAYERDIR}"
5BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ 5BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
6 ${LAYERDIR}/recipes-*/*/*.bbappend" 6 ${LAYERDIR}/recipes-*/*/*.bbappend"
7 7
8# Let us add layer-specific bbappends which are only applied when that
9# layer is included in our configuration
10BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bbappend' % layer \
11 for layer in BBFILE_COLLECTIONS.split())}"
12
8BBFILE_COLLECTIONS += "selinux" 13BBFILE_COLLECTIONS += "selinux"
9BBFILE_PATTERN_selinux = "^${LAYERDIR}/" 14BBFILE_PATTERN_selinux = "^${LAYERDIR}/"
10BBFILE_PRIORITY_selinux = "5" 15BBFILE_PRIORITY_selinux = "5"
@@ -15,8 +20,4 @@ LAYERVERSION_selinux = "1"
15 20
16LAYERDEPENDS_selinux = " \ 21LAYERDEPENDS_selinux = " \
17 core \ 22 core \
18 meta-python \
19 networking-layer \
20 openembedded-layer \
21 virtualization-layer \
22" 23"
diff --git a/recipes-containers/lxc/lxc_%.bbappend b/meta-virtualization/recipes-containers/lxc/lxc_%.bbappend
index 8c11cac..8c11cac 100644
--- a/recipes-containers/lxc/lxc_%.bbappend
+++ b/meta-virtualization/recipes-containers/lxc/lxc_%.bbappend