Skip to Content
Building OsBuilding OS

Building OS

OpenFactory provides a comprehensive system for building custom Linux distributions. 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:

  1. Git Agent - Creates a dedicated branch for your build
  2. Planning Agent - AI generates the configuration plan
  3. Config Agent - Applies configuration changes
  4. Package Agent - Prepares custom packages (if needed)
  5. Build Agent - Runs the distribution-specific build system
  6. Test Agent - Verifies the image in a VM
  7. 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
TopicDescription
Base ImagesChoose your Linux distribution
FeaturesAvailable capability modules
ServicesConfigure system services
Custom SoftwareBuild and install packages from GitHub
UsersCreate and manage users
DesktopCustomize GNOME desktop
Startup ScriptsFirst-boot automation

Example: Complete Build

Here’s an example of a comprehensive 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 hardening

OpenFactory will generate and execute this configuration automatically, testing each component before delivering your ISO.

Last updated on