secubox-openwrt/package/secubox/secubox-core/root
CyberMind-FR 8015d790e0 feat(cloner): Add SecuBox Station Cloner/Deployer
Host-side orchestrator (secubox-clone-station.sh):
- Dual USB serial control with MOKATOOL integration
- ASU API firmware building for clone images
- TFTP serving with auto-generated U-Boot commands
- Full workflow: detect → pull → flash → verify

On-device CLI (secubox-cloner):
- Build ext4 images for same device type
- TFTP server management via dnsmasq
- Clone token generation with auto-approve
- Integration with master-link mesh onboarding

First-boot provisioning (50-secubox-clone-provision):
- Partition resize to full disk (parted + resize2fs)
- Master discovery via mDNS/network scan
- Automatic mesh join with pre-approved tokens

Master-link enhancements:
- ml_clone_token_generate() for 24h auto-approve tokens
- ml_token_is_auto_approve() for token type detection
- Auto-approve logic in join request handler

SecuBox CLI additions:
- secubox clone (build, serve, token, status, list, export)
- secubox master-link (status, peers, token, join, approve)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-08 06:52:59 +01:00
..
etc feat(cloner): Add SecuBox Station Cloner/Deployer 2026-02-08 06:52:59 +01:00
usr feat(cloner): Add SecuBox Station Cloner/Deployer 2026-02-08 06:52:59 +01:00
var/lib/secubox feat: Admin Control Center with State Management (v0.9.0) 2026-01-05 10:05:32 +01:00
www/api feat(secubox-core): Add P2P mesh API endpoints for console discovery 2026-01-31 05:40:03 +01:00