Skip to content

Commit 9b77d88

Browse files
committed
Portenta X8: FoundriesFactory: Fix wrong clone command
Previous command using repo didn't work to clone the repository so use git instead. Signed-off-by: Vanessa Maegima <vanessa.maegima@foundries.io>
1 parent b91b127 commit 9b77d88

File tree

1 file changed

+5
-7
lines changed
  • content/hardware/04.pro/boards/portenta-x8/tutorials/custom-container

1 file changed

+5
-7
lines changed

content/hardware/04.pro/boards/portenta-x8/tutorials/custom-container/content.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -138,15 +138,13 @@ In order to pull or push repositories you have to generate an API key. This can
138138

139139
![Token section in user settings](assets/token-page.png)
140140

141-
Use the following command in a Linux shell, like ADB which the previously mentioned tutorial showed how to set up. To get the repository on your board, replace the "YOUR_FACTORY" with the name of your factory. The "-m" tag selects the manifest file within the repository. If no manifest name is selected, the default is "default.xml". And the "-b" tag specifies a revision. Running this command will get the container repository, where we will put our folder.
141+
Use the following command in a Linux shell, like ADB which the previously mentioned tutorial showed how to set up. To get the repository on your board, replace "YOUR_FACTORY" with the name of your factory. The "-b" parameter specifies a branch to checkout after cloning the repository. Running this command will get the container repository, where we will put our folder.
142142

143-
```python
144-
repo init -u https://source.foundries.io/factories/YOUR_FACTORY/containers.git -m arduino.xml -b devel
143+
```
144+
git clone https://source.foundries.io/factories/YOUR_FACTORY/containers.git -b devel
145145
```
146146

147-
We can also run ```repo sync``` to get the latest version of the repository. Put the "x8-custom-test" folder in the repository. If you push the commit to "container.git" a new target will automatically build on your Foundries.io Factory page.
148-
149-
***NOTE: The "repo sync" will at some point pause. This is because it is waiting for a username and password but the prompt will be hidden. Enter the username and password to move on.***
147+
Put the "x8-custom-test" folder in the repository. If you push the commit to "containers.git" a new target will automatically build on your Foundries.io Factory page.
150148

151149
### Building and Running the Container
152150

@@ -196,4 +194,4 @@ To get a better understanding of how to manage containers with Docker, take a lo
196194
Here are some errors that might occur in the process of this tutorial:
197195

198196
- Make sure you have followed our other tutorials that shows how to set up the [Portenta X8 out of the box](https://docs.arduino.cc/tutorials/portenta-x8/out-of-the-box)
199-
- If you are having issues with the adb shell, don't forget to try and use `sudo` and `su`
197+
- If you are having issues with the adb shell, don't forget to try and use `sudo` and `su`

0 commit comments

Comments
 (0)