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

    [Question] Clickable: install target arch dependencies.

    Scheduled Pinned Locked Moved Solved App Development
    3 Posts 2 Posters 310 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 Offline
      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 1
      • 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 1
        • pparentP Offline
          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 2
          • pparentP pparent marked this topic as a question on
          • pparentP pparent has marked this topic as solved on
          • pparentP pparent has marked this topic as solved on

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post