Manipulate Tezi metadata in Yocto

Hi @philipp1 !

Now I got it :slight_smile:
According to that documentation, you should remove the license line:

  1. Remove the license property to bypass the acceptance check. Note: This will automatically accept all licenses in the image.

You can also see that there is a minus before the "license":"general license" and the line is read, just like in a git diff :slight_smile:

(TBH, I didn’t quickly get it at first :sweat_smile:, but it is there.)

So, seems like that you need:

  1. TEZI_EULA_FILE = ""
    1.1. maybe this is not mandatory… I am not currently sure
  2. TEZI_EULA_URL = ""
    2.1. so you have no issues with image_type_tezi.bbclass trying to download it
  3. TEZI_SHOW_EULA_LICENSE = 0
    3.1. so the license: "something" line won’t be in your resulting image.json
    3.2. this variable is defined in tdx-base.inc, which is used by the distro conf files (e.g. tdx-xwayland.conf), so it is possible that you need to “create” your own distro (based on the distro that you are already using) for your redefinition of this variable to be picked up.

I came up with this just by looking at the layers/recipes. In other words, I didn’t try it myself yet. Kindly try this on your side and let me know how it goes.


Looking further, seems like the way to do it is by creating your own image_type_tezi.bbclass, based on Toradex’s.

This other thread might be useful for you:

Best regards,