mirror of
https://github.com/johndoe6345789/SparkOS.git
synced 2026-04-24 13:34:56 +00:00
- Add DNS configuration with fallback servers (8.8.8.8, 1.1.1.1, etc.) - Create /etc/network/interfaces for wired DHCP networking - Add init-network script to bring up wired interface on boot - Update init.c to call network initialization - Update documentation to include sudo in default packages - Update README with network testing and binary installation guide - Update ARCHITECTURE.md with networking strategy details Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
37 lines
1.2 KiB
Plaintext
37 lines
1.2 KiB
Plaintext
SparkOS Root Filesystem
|
|
=======================
|
|
|
|
This is the root filesystem for SparkOS, a minimal Linux distribution.
|
|
|
|
Minimal System Packages:
|
|
- Linux Kernel (with networking support)
|
|
- SparkOS Init System (custom)
|
|
- Busybox (shell, utilities, networking)
|
|
- Git (for installing spark CLI)
|
|
- Sudo (privilege elevation)
|
|
|
|
Directory Structure:
|
|
/bin, /sbin - Essential binaries
|
|
/etc - Configuration files
|
|
/proc, /sys, /dev - Kernel interfaces
|
|
/tmp - Temporary files
|
|
/usr - User programs
|
|
/var - Variable data
|
|
/root - Root home directory
|
|
/home - User home directories
|
|
|
|
Network Configuration:
|
|
/etc/network/interfaces - Wired network (DHCP)
|
|
/etc/resolv.conf - DNS configuration (8.8.8.8, 1.1.1.1)
|
|
/sbin/init-network - Network initialization script
|
|
|
|
Bootstrap Process:
|
|
1. System boots with wired networking (DHCP)
|
|
2. Use git to clone spark CLI repository
|
|
3. Use spark CLI to configure WiFi and system
|
|
4. Install additional packages via spark CLI
|
|
|
|
Note: This is a minimal system. You'll need to populate /bin and /usr/bin
|
|
with actual binaries (busybox, git, sudo) from a proper Linux system
|
|
or by cross-compiling.
|