aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Lock <joshua.g.lock@intel.com>2016-04-21 22:23:27 +0100
committerJoshua Lock <joshua.g.lock@intel.com>2016-04-21 22:23:27 +0100
commitabf7015df0af2adcd9891495a4cd00dc2da881fe (patch)
tree7c29a8a23460c56a5be2dfd2538d16c6a5ddb6b8
parentde800c6c5cd341507f603528ef21383c0dfda52d (diff)
downloadmeta-swupd-abf7015df0af2adcd9891495a4cd00dc2da881fe.tar.gz
meta-swupd-abf7015df0af2adcd9891495a4cd00dc2da881fe.tar.bz2
meta-swupd-abf7015df0af2adcd9891495a4cd00dc2da881fe.zip
swupd-image: set weak default for SWUPD_IMAGE_SANITY_CHECKS
This makes it simpler for a consumer of the layer to override or append to the value (i.e. using += as is commonly done). Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
-rw-r--r--classes/swupd-image.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/swupd-image.bbclass b/classes/swupd-image.bbclass
index 73456be..25d750e 100644
--- a/classes/swupd-image.bbclass
+++ b/classes/swupd-image.bbclass
@@ -577,7 +577,7 @@ swupd_patch_os_release () {
swupd_patch_os_release[vardepsexclude] = "OS_VERSION"
ROOTFS_POSTPROCESS_COMMAND += "swupd_patch_os_release; "
-SWUPD_IMAGE_SANITY_CHECKS = ""
+SWUPD_IMAGE_SANITY_CHECKS ??= ""
# Add image-level QA/sanity checks to SWUPD_IMAGE_SANITY_CHECKS
#
# SWUPD_IMAGE_SANITY_CHECKS += " \