Implement SparkOS MVP: init system, build infrastructure, and rootfs

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-12-28 15:03:31 +00:00
parent 0ab69f4dbc
commit ae278dc384
18 changed files with 980 additions and 1 deletions

33
config/build.conf Normal file
View File

@@ -0,0 +1,33 @@
# SparkOS Configuration
# This file defines the build configuration for SparkOS
# Target architecture
ARCH=x86_64
# Kernel version (if building custom kernel)
KERNEL_VERSION=6.1
# Image size for dd-able image
IMAGE_SIZE=512M
# Bootloader
BOOTLOADER=syslinux
# Init system
INIT=sparkos-init
# Default shell
SHELL=/bin/bash
# Compiler flags
CFLAGS=-Wall -O2 -static
LDFLAGS=-static
# Root filesystem location
ROOTFS=rootfs
# Build directory
BUILDDIR=build
# Output image
IMAGE=sparkos.img