diff options
-rw-r--r-- | classes/image_types_ota.bbclass | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/classes/image_types_ota.bbclass b/classes/image_types_ota.bbclass index 4380494..8b363cc 100644 --- a/classes/image_types_ota.bbclass +++ b/classes/image_types_ota.bbclass | |||
@@ -159,18 +159,11 @@ create_ota () { | |||
159 | } | 159 | } |
160 | 160 | ||
161 | IMAGE_CMD_ota-ext4 () { | 161 | IMAGE_CMD_ota-ext4 () { |
162 | 162 | create_ota "ext4" | |
163 | if ${@bb.utils.contains('IMAGE_FSTYPES', 'ota-ext4', 'true', 'false', d)}; then | ||
164 | # create ext4 | ||
165 | create_ota "ext4" | ||
166 | fi | ||
167 | } | 163 | } |
168 | 164 | ||
169 | IMAGE_CMD_ota-tar () { | 165 | IMAGE_CMD_ota-tar () { |
170 | if ${@bb.utils.contains('IMAGE_FSTYPES', 'ota-tar', 'true', 'false', d)}; then | 166 | create_ota "tar" |
171 | # create tarball | ||
172 | create_ota "tar" | ||
173 | fi | ||
174 | } | 167 | } |
175 | 168 | ||
176 | do_otasetup[doc] = "Sets up the base ota rootfs used for subsequent image generation" | 169 | do_otasetup[doc] = "Sets up the base ota rootfs used for subsequent image generation" |