Building OS
OpenFactory provides a system for building custom Linux distributions from configurable recipes. This section covers all the configuration options available.
Build Components
Every OpenFactory build consists of these components:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Build Recipe β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Base Image β The underlying Linux distribution β
ββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββ€
β Features β Pre-built capability modules β
ββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββ€
β Services β Configured system services β
ββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββ€
β Custom Pkgs β Software built from your GitHub repos β
ββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββ€
β Users β System accounts and permissions β
ββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββ€
β Desktop β GUI customization (optional) β
ββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββ€
β Scripts β First-boot automation β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββBuild Process
When you start a build, OpenFactory executes these stages:
- Git Agent - Creates a dedicated branch for your build
- Planning Agent - AI generates the configuration plan
- Config Agent - Applies configuration changes
- Package Agent - Prepares custom packages (if needed)
- Build Agent - Runs the distribution-specific build system
- Test Agent - Verifies the image in a VM
- Orchestrator - Finalizes and makes ISO available
Real-Time Streaming
Watch your build progress in real-time:
- Live log output from each stage
- Progress indicators for long-running tasks
- Agent status visualization
- Error highlighting with suggestions
Quick Links
| Topic | Description |
|---|---|
| Base Images | Choose your Linux distribution |
| Features | Available capability modules |
| Services | Configure system services |
| Custom Software | Build and install packages from GitHub |
| Users | Create and manage users |
| Desktop | Customize GNOME desktop |
| Startup Scripts | First-boot automation |
Example: Complete Build
Hereβs an example build configuration:
Create a production web server with:
- Base: Debian Bookworm
- Features: SSH, Docker, firewall, security hardening
- SSH on port 2222 with key-only authentication
- Users: admin (sudo), deploy (docker)
- Firewall: allow SSH, HTTP, HTTPS only
- CIS Level 1 hardeningOpenFactory will generate and execute this configuration automatically, testing each component before delivering your ISO.
Last updated on