diff options
author | Joe MacDonald <joe_macdonald@mentor.com> | 2015-02-18 22:43:56 -0500 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2015-02-18 22:43:56 -0500 |
commit | d382d54f0a9a913791fca1d7f61e87fcfd32842b (patch) | |
tree | 3a04de0e98de2228adfb6b1af70a69b6e563d6fd | |
parent | 963eb209717eb16a3627806f49674cef015a8fca (diff) | |
download | meta-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-- | README | 13 | ||||
-rw-r--r-- | conf/layer.conf | 9 | ||||
-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
@@ -34,6 +34,19 @@ the Yocto Project website: | |||
34 | 34 | ||
35 | http://www.yoctoproject.org | 35 | http://www.yoctoproject.org |
36 | 36 | ||
37 | This layer also optionally depends on the following layers: | ||
38 | |||
39 | URI: git://github.com/openembedded/meta-oe.git | ||
40 | branch: master | ||
41 | revision: HEAD | ||
42 | layers: meta-oe | ||
43 | meta-networking | ||
44 | meta-python | ||
45 | |||
46 | URI: git://git.yoctoproject.org/meta-virtualization | ||
47 | branch: master | ||
48 | revision: HEAD | ||
49 | |||
37 | 50 | ||
38 | Maintenance | 51 | Maintenance |
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}" | |||
5 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ | 5 | BBFILES += "${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 | ||
10 | BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bbappend' % layer \ | ||
11 | for layer in BBFILE_COLLECTIONS.split())}" | ||
12 | |||
8 | BBFILE_COLLECTIONS += "selinux" | 13 | BBFILE_COLLECTIONS += "selinux" |
9 | BBFILE_PATTERN_selinux = "^${LAYERDIR}/" | 14 | BBFILE_PATTERN_selinux = "^${LAYERDIR}/" |
10 | BBFILE_PRIORITY_selinux = "5" | 15 | BBFILE_PRIORITY_selinux = "5" |
@@ -15,8 +20,4 @@ LAYERVERSION_selinux = "1" | |||
15 | 20 | ||
16 | LAYERDEPENDS_selinux = " \ | 21 | LAYERDEPENDS_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 | |||