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

5
rootfs/etc/fstab Normal file
View File

@@ -0,0 +1,5 @@
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
devtmpfs /dev devtmpfs defaults 0 0
tmpfs /tmp tmpfs defaults 0 0

1
rootfs/etc/group Normal file
View File

@@ -0,0 +1 @@
root:x:0:

1
rootfs/etc/hostname Normal file
View File

@@ -0,0 +1 @@
sparkos

3
rootfs/etc/hosts Normal file
View File

@@ -0,0 +1,3 @@
127.0.0.1 localhost
127.0.1.1 sparkos
::1 localhost ip6-localhost ip6-loopback

1
rootfs/etc/passwd Normal file
View File

@@ -0,0 +1 @@
root:x:0:0:root:/root:/bin/bash

11
rootfs/etc/profile Normal file
View File

@@ -0,0 +1,11 @@
# SparkOS System Profile
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
export PS1='SparkOS:\w\$ '
export HOME=/root
export TERM=linux
# Welcome message
echo "Welcome to SparkOS!"
echo "Type 'help' for available commands"
echo ""