Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions docs/common/radxa-os/build-system/_radxa_os.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -123,17 +123,7 @@ Radxa OS 的开发环境提供两种搭建方式:**方式一**基于 Dev Conta
- 如果容器已经存在,会直接进入容器;如果需要重建容器,请先执行 `docker rm -f rsdk` 删除旧容器。
- 也可以传入需要执行的命令:`rsdk-image --name rsdk -- <command>`。

进入容器后,使用方式一中克隆的 rsdk 源码,或在容器内重新克隆:

<NewCodeBlock tip="Linux@host$" type="host">

```bash
git clone --recurse-submodules <git_repo_url>
```

</NewCodeBlock>

其中 `<git_repo_url>` 需要替换成:{props.git_url}
进入容器后无需再克隆仓库源码,容器内已自带 `rsdk` 工具与 SDK 工作目录,可以直接使用 `rsdk` 命令编译系统镜像。

</TabItem>
</Tabs>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,17 +122,7 @@ You can follow the tutorial below to install Docker / Visual Studio Code / Dev C
- If the container already exists, you will enter it directly. To rebuild the container, first run `docker rm -f rsdk` to remove the existing one.
- You can also pass a command to execute inside the container: `rsdk-image --name rsdk -- <command>`.

After entering the container, use the rsdk source cloned in Method 1, or clone it again inside the container:

<NewCodeBlock tip="Linux@host$" type="host">

```bash
git clone --recurse-submodules <git_repo_url>
```

</NewCodeBlock>

Replace `<git_repo_url>` with: {props.git_url}
Once inside the container there is no need to clone the repository again. The container already ships with the `rsdk` tool and the SDK working directory, so you can run `rsdk` directly to build the system image.

</TabItem>
</Tabs>
Expand Down
Loading