- Add internal/phases/ with complete phase management system - Add internal/types/ with core data structures - Add internal/treefile/ for OSTree treefile generation - Update examples with YAML configurations - Update .gitignore to properly exclude test artifacts and build outputs - Update dependencies and configuration files
76 lines
1.7 KiB
YAML
76 lines
1.7 KiB
YAML
# apt-ostree treefile for Debian Trixie minimal bootc image
|
|
# This follows the apt-ostree v1 format specification
|
|
# Debian 13+ (trixie) has the required OSTree version for bootc support
|
|
|
|
apiVersion: v1
|
|
kind: Treefile
|
|
metadata:
|
|
name: "debian-trixie-minimal"
|
|
description: "Minimal Debian Trixie system for bootc images"
|
|
version: "13.0.0"
|
|
|
|
spec:
|
|
# Base system configuration
|
|
base:
|
|
distribution: "trixie"
|
|
architecture: "amd64"
|
|
mirror: "http://deb.debian.org/debian"
|
|
|
|
# Package management
|
|
packages:
|
|
include:
|
|
# Essential system packages
|
|
- "systemd"
|
|
- "udev"
|
|
- "dbus"
|
|
- "libc6"
|
|
- "libcap2"
|
|
- "ostree"
|
|
- "bootc"
|
|
- "linux-image-amd64"
|
|
|
|
# Basic utilities
|
|
- "bash"
|
|
- "coreutils"
|
|
- "ca-certificates"
|
|
|
|
exclude:
|
|
- "unattended-upgrades"
|
|
- "unwanted-package"
|
|
|
|
# Customizations
|
|
customizations:
|
|
files:
|
|
- path: "/etc/hostname"
|
|
content: "debian-atomic"
|
|
mode: "0644"
|
|
owner: "root:root"
|
|
|
|
- path: "/etc/motd"
|
|
content: "Welcome to Debian Atomic (bootc) - Trixie"
|
|
mode: "0644"
|
|
owner: "root:root"
|
|
|
|
services:
|
|
enable:
|
|
- "systemd-networkd"
|
|
- "systemd-resolved"
|
|
- "systemd-timesyncd"
|
|
|
|
# OSTree configuration
|
|
ostree:
|
|
ref: "debian/13/amd64/minimal"
|
|
commit_message: "Debian 13 Trixie minimal bootc image"
|
|
metadata:
|
|
build_tool: "deb-bootc-compose"
|
|
build_timestamp: "2025-08-19T18:44:29Z"
|
|
build_version: "1.0.0"
|
|
variant: "minimal"
|
|
architecture: "amd64"
|
|
distribution: "trixie"
|
|
|
|
# Build options
|
|
build:
|
|
parallel_jobs: 4
|
|
cache_dir: "./cache"
|
|
cleanup: true
|