UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    [Question] Clickable: install target arch dependencies.

    Scheduled Pinned Locked Moved App Development
    3 Posts 2 Posters 35 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • pparentP Online
        pparent
        last edited by pparent

        Hi,

        There is something that I don't understand how to do, with clickable.

        I my docker container I would need to run something like this:

        dpkg --add-architecture arm64
        apt-get update -y
        apt-get install -y --no-install-recommends libgtk-3-dev:arm64 libgtk2.0-dev:arm64 libmaliit-glib-dev:arm64 libmaliit-glib2:arm64
        

        To install dependencies needed to cross-compile a package for target arch (arm64).

        But I can't find a way to install a package from another architecture than the host architecture, and I don't seem to find a way to run a configuration command as root inside the docker container from the clickable.yaml file?

        How should this be done, knowing that it you are going to cross-compile a package for arm64, being able to install dependencies for the target architecture is kind of a staple.

        CiberSheepC 1 Reply Last reply Reply Quote 0
        • CiberSheepC Offline
          CiberSheep @pparent
          last edited by

          @pparent check here: https://clickable-ut.dev/en/latest/project-config.html

          You'll gonna love it 🙂
          Specially on dependencies_host and dependencies_target but there's a lot of thing to play with

          Another planet, another time, another universe!

          pparentP 1 Reply Last reply Reply Quote 0
          • pparentP Online
            pparent @CiberSheep
            last edited by

            @CiberSheep said in [Question] Clickable: install target arch dependencies.:

            @pparent check here: https://clickable-ut.dev/en/latest/project-config.html

            You'll gonna love it 🙂
            Specially on dependencies_host and dependencies_target but there's a lot of thing to play with

            Ho that's great! It helps a lot thank's so much!

            1 Reply Last reply Reply Quote 0
            • First post
              Last post