Embedded Device
Build a minimal Linux image for IoT and edge devices.
Prompt
Create a minimal Debian embedded image with:
Optimization:
- Minimal package set
- Remove documentation, man pages, locales
- Fast boot (target < 10 seconds)
Features:
- Headless (no desktop)
- SSH for remote access
- Watchdog support
Network:
- NetworkManager
- mDNS/Avahi for discovery
- Static fallback IP
Storage:
- Journal to RAM to reduce writes
- tmpfs for /tmp
Users:
- root (initial setup)
- app (no login shell, for applications)
Packages: systemd, openssh-server, curl, ca-certificates
No compiler toolchain.Adding Tests
After OpenFactory generates the recipe, add verification tests:
Add tests to verify:
- Boot time under 15 seconds
- Memory usage under 200MB idle
- Watchdog is active
- SSH is accessible
- mDNS discovery worksOpenFactory will add these as automated tests that run after the image builds.