mirror of
https://github.com/johndoe6345789/SparkOS.git
synced 2026-04-24 13:34:56 +00:00
Implement SparkOS MVP: init system, build infrastructure, and rootfs
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
5
rootfs/etc/fstab
Normal file
5
rootfs/etc/fstab
Normal 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
1
rootfs/etc/group
Normal file
@@ -0,0 +1 @@
|
||||
root:x:0:
|
||||
1
rootfs/etc/hostname
Normal file
1
rootfs/etc/hostname
Normal file
@@ -0,0 +1 @@
|
||||
sparkos
|
||||
3
rootfs/etc/hosts
Normal file
3
rootfs/etc/hosts
Normal 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
1
rootfs/etc/passwd
Normal file
@@ -0,0 +1 @@
|
||||
root:x:0:0:root:/root:/bin/bash
|
||||
11
rootfs/etc/profile
Normal file
11
rootfs/etc/profile
Normal 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 ""
|
||||
Reference in New Issue
Block a user