diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2017-09-30 11:06:15 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2017-10-02 09:39:26 -0400 |
commit | bfba140b8353665e1b586c257982c4cb3f496ec3 (patch) | |
tree | 951d3935af0b6ddcaefc2b411868b428a0feb2c1 /conf/layer.conf | |
parent | b7febd5592a69f79cf194d4561eba2f76e504bd8 (diff) | |
download | meta-virtualization-bfba140b8353665e1b586c257982c4cb3f496ec3.tar.gz |
sanity-meta-virt.bbclass: add class for bbappend files checking
Add a new class, sanity-meta-virt.bbclass, to check for whether necessary
settings are available for bbappend files in this layer to be effective,
and warn users if not.
In addition, a variable SKIP_SANITY_BBAPPEND_CHECK is added to enable users
to explicitly skip the checking to avoid unwanted warnings.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'conf/layer.conf')
-rw-r--r-- | conf/layer.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/layer.conf b/conf/layer.conf index be08a985..51ca8ee2 100644 --- a/conf/layer.conf +++ b/conf/layer.conf | |||
@@ -22,3 +22,7 @@ require conf/distro/include/virt_security_flags.inc | |||
22 | 22 | ||
23 | PREFERRED_PROVIDER_virtual/runc ?= "runc-docker" | 23 | PREFERRED_PROVIDER_virtual/runc ?= "runc-docker" |
24 | PREFERRED_PROVIDER_virtual/containerd ?= "containerd-docker" | 24 | PREFERRED_PROVIDER_virtual/containerd ?= "containerd-docker" |
25 | |||
26 | # Sanity check for meta-virtualization layer. | ||
27 | # Setting SKIP_SANITY_BBAPPEND_CHECK to "1" would skip the bbappend files check. | ||
28 | INHERIT += "sanity-meta-virt" | ||