diff options
Diffstat (limited to 'classes/image_type_tezi.bbclass')
-rw-r--r-- | classes/image_type_tezi.bbclass | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/classes/image_type_tezi.bbclass b/classes/image_type_tezi.bbclass index 958d050..231cea4 100644 --- a/classes/image_type_tezi.bbclass +++ b/classes/image_type_tezi.bbclass @@ -201,13 +201,7 @@ python rootfs_tezi_json() { bb.note("Toradex Easy Installer metadata file image.json written.") } -python () { - if bb.utils.contains("IMAGE_FSTYPES", "teziimg", True, False, d): - # do_image_teziimg does not work because the anonymous python function - # in image.bbclass gets called later and overwrites prefuncs. In master - # this is fixed, so we might be able to get rid of this work around in rocko - d.appendVarFlag('do_image', 'prefuncs', 'rootfs_tezi_json') -} +do_image_teziimg[prefuncs] += "rootfs_tezi_json" IMAGE_CMD_teziimg () { bbnote "Create bootfs tarball" |