How wikar/rsdk works
rsdk is RadxaOS Software Development Kit: a command-line toolkit for configuring a development environment and building, installing, and interacting with RadxaOS images. Its broader infrastructure tooling manages package, product, and repository workflows. The graph reflects the command and subsystem boundaries visible in the tree; source excerpts were sparse, so detailed command-to-command wiring is not asserted.
Main entry points: rsdk rsdk CLI · rsdk-build Image build · rsdk-infra-build Infra build · rsdk-infra-package-update Package update
Components 20
CLI and environment
- rsdk CLI
src/bin/rsdk - Setup
src/libexec/rsdk/rsdk-setup - Configuration
src/libexec/rsdk/rsdk-config - Shell access
src/libexec/rsdk/rsdk-shell - Chroot access
src/libexec/rsdk/rsdk-chroot - Image install
src/libexec/rsdk/rsdk-install
Image building
- Image build
src/libexec/rsdk/rsdk-build - Build helpers
src/libexec/rsdk/build - Image definition
src/share/rsdk/build/image.jsonnet - Root filesystem
src/share/rsdk/build/rootfs.jsonnet
Infrastructure workflows
- Infra build
src/libexec/rsdk/rsdk-infra-build - Package update
src/libexec/rsdk/rsdk-infra-package-update - Product build
src/libexec/rsdk/rsdk-infra-product-build - Repository update
src/libexec/rsdk/rsdk-infra-repo-update - Package templates
src/share/rsdk/infra-package - Product templates
src/share/rsdk/infra-product - Repository templates
src/share/rsdk/infra-repo
Build data
- Device configuration
src/share/rsdk/configs
Other components
- Developer
- OS image
Connections 22
- Developer → rsdk CLI: runs
- rsdk CLI → Setup: dispatches
- rsdk CLI → Configuration: dispatches
- rsdk CLI → Shell access: dispatches
- rsdk CLI → Chroot access: dispatches
- rsdk CLI → Image install: dispatches
- rsdk CLI → Image build: dispatches
- rsdk CLI → Infra build: dispatches
- rsdk CLI → Package update: dispatches
- rsdk CLI → Product build: dispatches
- rsdk CLI → Repository update: dispatches
- Image build → Image definition: uses definition
- Image build → Root filesystem: uses definition
- Image build → Device configuration: reads settings
- Image build → Build helpers: uses helpers
- Image build → OS image: produces
- Infra build → Package update: dispatches
- Infra build → Product build: dispatches
- Infra build → Repository update: dispatches
- Package update → Package templates: uses templates
- Product build → Product templates: uses templates
- Repository update → Repository templates: uses templates