diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2018-05-26 11:45:35 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2018-06-18 14:53:54 +0200 |
commit | da32b277151f9a93a82d92f8b813708fcc9b9f97 (patch) | |
tree | 7b7a033adb573e24b8ef44aede1773d90cef2668 | |
parent | 00c7e684374e8dbdd8ed12e29accc6be9a58831d (diff) |
image_type_tezi: remove workaround to set prefuncs
https://bugzilla.yoctoproject.org/show_bug.cgi?id=11372
With the fix available in rocko we can now replace the workaround
with the usual bitbake syntax.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
-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" |