How robertcnelson/omap-image-builder works
RootStock-NG is a configurable image builder for ARM systems. Its apparent workflow is selecting a board/distribution configuration, obtaining and bootstrapping a Debian root filesystem, applying target-specific customization, and preparing boot and SD-card image artifacts. The tree identifies these runtime areas, while the README describes customized image generation and supported board EEPROM identities. No source excerpts were provided, so the internal flow is shown as unverified dashed relationships rather than asserted calls.
Main entry points: RootStock-NG.sh Build entry point · chroot.sh Rootfs setup · setup_sdcard.sh SD-card image setup · debootstrap.sh Rootfs bootstrap
Components 14
Image orchestration
- Build entry point
RootStock-NG.sh - Image configurations
configs
Root filesystem
- Source retrieval
scripts/pull.sh - Build dependencies
scripts/install_dependencies.sh - Rootfs bootstrap
scripts/debootstrap.sh - Rootfs setup
scripts/chroot.sh
Target customization
- Board customization
target/chroot - Machinekit additions
machinekit/chroot_hook.sh
Boot and image output
- Boot configuration
target/boot - Hardware profiles
tools/hwpack - SD-card image setup
tools/setup_sdcard.sh
Other components
- Image builder user
- Debian packages
- System image
Connections 13
- Image builder user → Build entry point: starts build
- Build entry point → Image configurations: selects profile
- Build entry point → Source retrieval: runs retrieval
- Build entry point → Build dependencies: prepares tools
- Build entry point → Rootfs bootstrap: starts bootstrap
- Debian packages → Rootfs bootstrap: supplies packages
- Build entry point → Rootfs setup: configures rootfs
- Rootfs setup → Board customization: applies scripts
- Rootfs setup → Machinekit additions: applies hook
- Build entry point → Boot configuration: uses boot settings
- Build entry point → Hardware profiles: uses board profile
- Build entry point → SD-card image setup: prepares image
- SD-card image setup → System image: produces image