Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-1795

Install SDK from a local file is not supported when XDS-server is running in the VM

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • None
    • None

      For now, when a user want to install a SDK from a local file (using command xds-cli sdks install -f $HOME/xds-workspace/sdks/my_sdk.sh), this file must be located in $HOME/xds-workspace/sdks.

      This doing well when xds-server is running in a docker container because by default $HOME/xds-workspace/sdks directory is shared using --volume dokcer option.

      But it's not working when xds-server is running in the VM downloadable here, see also doc here

      Several solutions exist to fix that problem :

      1. add vbox-addon in VM and auto mount XDS-Workspace shared point
        OR
      2. rely on Syncthing to share $HOME/xds-workspace/sdks directories
        OR
      3. update sdks code to remove restriction about $HOME/xds-workspace/sdks (see file sdks.go line 352)

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            benierc Clément Bénier
            SebD Sebastien Douheret
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: