-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
115 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# `rsdk build` | ||
|
||
`rsdk build` can be use to build Radxa OS image. | ||
|
||
## Check CLI help | ||
|
||
```bash | ||
rsdk on main [?⇡] via v20.11.1 via ❄️ impure (devenv-shell-env) | ||
⬢ [Docker] ❯ rsdk help build | ||
rsdk-build | ||
==== | ||
|
||
## Command usage | ||
|
||
$ rsdk build <options> [product] <suite> <edition> | ||
|
||
## Options | ||
|
||
--no-cache | ||
Do not use cached build artifacts. This will result in rootfs rebuild. | ||
--no-efi | ||
Do not create EFI partition in the generated image. | ||
-d | --debug | ||
Enable debug output. This will also build rootfs into a folder for easier | ||
examination. | ||
-T | --test-repo | ||
Build using Radxa APT test archives. | ||
-m | --mirror [mirror_url] | ||
Specify custom Debian / Ubuntu archive mirror URL. | ||
-M [mirror_url] | ||
Specify custom non-Debian non-Ubuntu archive mirror URL. This mirror should | ||
serve both Radxa archives as well as any other 3rd party archives. | ||
|
||
The following archives will use this mirror: | ||
radxa | ||
vscodium | ||
-i | --image-name [image_name] | ||
Set the system image name. (Default: output.img) | ||
-h | --help | ||
Show this message. | ||
|
||
``` | ||
|
||
## Build Radxa OS image | ||
|
||
Using ROCK 3C as an example, if you want to build a KDE edition Radxa OS image for Debian bullseye, you can run the following commands. | ||
|
||
```bash | ||
rsdk build rock-3c bullseye kde | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# `rsdk shell` | ||
|
||
Please run `rsdk shell` before performing any operations. | ||
This will automate the development environment configuration. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters