From bfba140b8353665e1b586c257982c4cb3f496ec3 Mon Sep 17 00:00:00 2001 From: Chen Qi Date: Sat, 30 Sep 2017 11:06:15 +0800 Subject: 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 Signed-off-by: Bruce Ashfield --- conf/layer.conf | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'conf/layer.conf') 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 PREFERRED_PROVIDER_virtual/runc ?= "runc-docker" PREFERRED_PROVIDER_virtual/containerd ?= "containerd-docker" + +# Sanity check for meta-virtualization layer. +# Setting SKIP_SANITY_BBAPPEND_CHECK to "1" would skip the bbappend files check. +INHERIT += "sanity-meta-virt" -- cgit v1.2.3-54-g00ecf