diff options
-rw-r--r-- | meta/classes/image-empty.bbclass | 0 | ||||
-rw-r--r-- | meta/classes/image.bbclass | 12 |
2 files changed, 6 insertions, 6 deletions
diff --git a/meta/classes/image-empty.bbclass b/meta/classes/image-empty.bbclass deleted file mode 100644 index e69de29bb2..0000000000 --- a/meta/classes/image-empty.bbclass +++ /dev/null | |||
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 422a8261bd..bc60f0d6c0 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -95,15 +95,15 @@ def build_live(d): | |||
95 | d.setVar('NOISO', base_contains('IMAGE_FSTYPES', "iso", "0", "1", d)) | 95 | d.setVar('NOISO', base_contains('IMAGE_FSTYPES', "iso", "0", "1", d)) |
96 | d.setVar('NOHDD', base_contains('IMAGE_FSTYPES', "hddimg", "0", "1", d)) | 96 | d.setVar('NOHDD', base_contains('IMAGE_FSTYPES', "hddimg", "0", "1", d)) |
97 | if d.getVar('NOISO', True) == "0" or d.getVar('NOHDD', True) == "0": | 97 | if d.getVar('NOISO', True) == "0" or d.getVar('NOHDD', True) == "0": |
98 | return "live" | 98 | return "image-live" |
99 | return "empty" | 99 | return "" |
100 | return "live" | 100 | return "image-live" |
101 | 101 | ||
102 | IMAGE_TYPE_live = "${@build_live(d)}" | 102 | IMAGE_TYPE_live = "${@build_live(d)}" |
103 | 103 | ||
104 | inherit image-${IMAGE_TYPE_live} | 104 | inherit ${IMAGE_TYPE_live} |
105 | IMAGE_TYPE_vmdk = '${@base_contains("IMAGE_FSTYPES", "vmdk", "vmdk", "empty", d)}' | 105 | IMAGE_TYPE_vmdk = '${@base_contains("IMAGE_FSTYPES", "vmdk", "image-vmdk", "", d)}' |
106 | inherit image-${IMAGE_TYPE_vmdk} | 106 | inherit ${IMAGE_TYPE_vmdk} |
107 | 107 | ||
108 | python () { | 108 | python () { |
109 | deps = " " + imagetypes_getdepends(d) | 109 | deps = " " + imagetypes_getdepends(d) |