summaryrefslogtreecommitdiffstats
path: root/meta-gnome
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2019-06-24 10:33:37 +0300
committerKhem Raj <raj.khem@gmail.com>2019-06-25 14:21:48 -0700
commit68e89e60ebc07146ec063d423f77065c9e219692 (patch)
tree98ae454bba807f362738760f07a2bd20ee584a21 /meta-gnome
parent16071edf1df44a2bb5a905ab04512cbda29801c3 (diff)
downloadmeta-openembedded-68e89e60ebc07146ec063d423f77065c9e219692.tar.gz
sanity-meta-gnome: Remove obsolete class
There are no bbappend left in meta-gnome. Individual recipes that require x11 already provide a proper error for that. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-gnome')
-rw-r--r--meta-gnome/README20
-rw-r--r--meta-gnome/classes/sanity-meta-gnome.bbclass10
-rw-r--r--meta-gnome/conf/layer.conf4
3 files changed, 0 insertions, 34 deletions
diff --git a/meta-gnome/README b/meta-gnome/README
index 2a682e72d..3c5b4c5f9 100644
--- a/meta-gnome/README
+++ b/meta-gnome/README
@@ -1,23 +1,3 @@
1meta-gnome
2===========
3
4The recipe in this layer needs to have 'x11' in DISTRO_FEATURES
5to have effect. To enable them, add in configuration file the following line.
6
7 DISTRO_FEATURES_append = " x11"
8
9If meta-gnome is included, but x11 is not enabled as a
10distro feature a warning is printed at parse time:
11
12 You have included the meta-gnome layer, but
13 'x11' has not been enabled in your DISTRO_FEATURES.
14
15If you know what you are doing, this warning can be disabled by setting the following
16variable in your configuration:
17
18 SKIP_META_GNOME_SANITY_CHECK = 1
19
20
21Dependencies 1Dependencies
22------------ 2------------
23This layer depends on: 3This layer depends on:
diff --git a/meta-gnome/classes/sanity-meta-gnome.bbclass b/meta-gnome/classes/sanity-meta-gnome.bbclass
deleted file mode 100644
index 331ea193d..000000000
--- a/meta-gnome/classes/sanity-meta-gnome.bbclass
+++ /dev/null
@@ -1,10 +0,0 @@
1addhandler gnome_bbappend_distrocheck
2gnome_bbappend_distrocheck[eventmask] = "bb.event.SanityCheck"
3python gnome_bbappend_distrocheck() {
4 skip_check = e.data.getVar('SKIP_META_GNOME_SANITY_CHECK') == "1"
5 if 'x11' not in e.data.getVar('DISTRO_FEATURES').split() and not skip_check:
6 bb.warn("You have included the meta-gnome layer, but \
7'x11' has not been enabled in your DISTRO_FEATURES. Some bbappend files \
8may not take effect. See the meta-gnome README for details on enabling \
9meta-gnome support.")
10}
diff --git a/meta-gnome/conf/layer.conf b/meta-gnome/conf/layer.conf
index 0b68232de..9ed142198 100644
--- a/meta-gnome/conf/layer.conf
+++ b/meta-gnome/conf/layer.conf
@@ -15,7 +15,3 @@ LAYERVERSION_gnome-layer = "1"
15LAYERDEPENDS_gnome-layer = "core openembedded-layer networking-layer" 15LAYERDEPENDS_gnome-layer = "core openembedded-layer networking-layer"
16 16
17LAYERSERIES_COMPAT_gnome-layer = "thud warrior" 17LAYERSERIES_COMPAT_gnome-layer = "thud warrior"
18
19# Sanity check for meta-gnome layer.
20# Setting SKIP_META_GNOME_SANITY_CHECK to "1" would skip the bbappend files check.
21INHERIT += "sanity-meta-gnome"