From: Paul Eggleton Date: Wed, 13 Nov 2013 19:05:58 +0000 (+0000) Subject: classes/image-empty: remove X-Git-Tag: rev_ivi_2015_02_04~10398 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bef3cf043e72b07b67b290be701f214a0ebabba0;p=scm%2Fbb%2Ftizen-distro.git classes/image-empty: remove We don't actually need this dummy class; "inherit" can be used with an expression that evaluates to nothing with current BitBake. (From OE-Core rev: f312eb2d2a2715e772ed9e8afc7aea326d8079ec) Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- diff --git a/meta/classes/image-empty.bbclass b/meta/classes/image-empty.bbclass deleted file mode 100644 index e69de29..0000000 diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 422a826..bc60f0d 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -95,15 +95,15 @@ def build_live(d): d.setVar('NOISO', base_contains('IMAGE_FSTYPES', "iso", "0", "1", d)) d.setVar('NOHDD', base_contains('IMAGE_FSTYPES', "hddimg", "0", "1", d)) if d.getVar('NOISO', True) == "0" or d.getVar('NOHDD', True) == "0": - return "live" - return "empty" - return "live" + return "image-live" + return "" + return "image-live" IMAGE_TYPE_live = "${@build_live(d)}" -inherit image-${IMAGE_TYPE_live} -IMAGE_TYPE_vmdk = '${@base_contains("IMAGE_FSTYPES", "vmdk", "vmdk", "empty", d)}' -inherit image-${IMAGE_TYPE_vmdk} +inherit ${IMAGE_TYPE_live} +IMAGE_TYPE_vmdk = '${@base_contains("IMAGE_FSTYPES", "vmdk", "image-vmdk", "", d)}' +inherit ${IMAGE_TYPE_vmdk} python () { deps = " " + imagetypes_getdepends(d)