aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Draszik <git@andred.net>2017-02-16 14:58:28 +0000
committerPatrick Ohly <patrick.ohly@intel.com>2017-02-17 08:41:07 +0100
commitc63e8c0d95604ee5e4220cb093a3c5ab7c60c0b5 (patch)
tree44ff9fc12ffbd19f89c33d70a9a3de0b5a1d8061
parent54372727b5271010a43587f922e26a6dffc733c0 (diff)
downloadmeta-swupd-c63e8c0d95604ee5e4220cb093a3c5ab7c60c0b5.tar.gz
meta-swupd-c63e8c0d95604ee5e4220cb093a3c5ab7c60c0b5.tar.bz2
meta-swupd-c63e8c0d95604ee5e4220cb093a3c5ab7c60c0b5.zip
swupd-image.bbclass: don't fail parsing if SWUPD_BUNDLES is undefined
ERROR: Error for ...image.bb, dependency ${@' does not contain exactly one ':' character. Task 'depends' should be specified in the form 'packagename:task' ERROR: Command execution failed: Exited with 1 Signed-off-by: André Draszik <git@andred.net>
-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 dd56a34..f55b5d6 100644
--- a/classes/swupd-image.bbclass
+++ b/classes/swupd-image.bbclass
@@ -249,7 +249,7 @@ addtask stage_swupd_inputs after do_swupd_list_bundle before do_swupd_update
do_stage_swupd_inputs[dirs] = "${SWUPDIMAGEDIR} ${SWUPDMANIFESTDIR} ${DEPLOY_DIR_SWUPD}/maps/"
do_stage_swupd_inputs[depends] += " \
virtual/fakeroot-native:do_populate_sysroot \
- ${@ ' '.join(['bundle-${SWUPD_IMAGE_PN}-%s:do_swupd_list_bundle' % x for x in '${SWUPD_BUNDLES}'.split()]) } \
+ ${@ ' '.join(['bundle-${SWUPD_IMAGE_PN}-%s:do_swupd_list_bundle' % x for x in (d.getVar('SWUPD_BUNDLES') or '').split()]) } \
"
python do_fetch_swupd_inputs () {