how to build/install addon in the image

  • Hello,

    I want to build some addons available in packages/addons/

    For what I saw,

    to build them I need to manually run "scripts/install_addon <addon_name>"

    This creates the addon structure in build/addons and installs it in target/addons/

    Is there a way to install it in the image directly ?

    Maybe I'm wrong in the way I build addons?

    Thank you for your help

  • Not sure what you try.

    Do you try this at your LibreELEC/Kodi Box ?

    We have also all addons at our repository that is included at Kodi. So you can install all LE addons directly from Kodi.

  • I'm trying to compile from scratch (using the docker image).

    And to include everything I need in the box, to avoid a network installation (for instance: packages/addons/service/bluetooth-audio).

    Of course I can use the scripts/install_addon script to create the addon,

    then create another package to install the generated service.bluetooth-audio addon,

    not reliable to my point of view.

    I can try to hack the framework to make it work and propose a PR but maybe I take the wrong direction and a smarter way already exists.