Update documentation and scripts to remove all busybox/CLI references

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-02 01:46:09 +00:00
parent 35c236fe6b
commit 5bc97ca74b
14 changed files with 193 additions and 284 deletions

View File

@@ -1,7 +1,6 @@
#!/bin/bash
# Quick build script for SparkOS development
# Note: This script runs on the host system and uses bash for ${BASH_SOURCE}
# The target system uses busybox sh instead.
set -e
@@ -30,10 +29,9 @@ echo ""
echo "Build complete!"
echo ""
echo "Next steps to create a full bootable system:"
echo " 1. Copy busybox to rootfs/bin/"
echo " (cp /bin/busybox rootfs/bin/)"
echo " 2. Create symlinks in rootfs/bin for common utilities"
echo " (cd rootfs/bin && for cmd in sh ls cat mkdir rm cp mount; do ln -sf busybox \$cmd; done)"
echo " 3. Add a Linux kernel to rootfs/boot/vmlinuz"
echo " 4. Run: sudo make image"
echo " 1. Build Qt6 GUI: make gui"
echo " 2. Add a Linux kernel to rootfs/boot/vmlinuz"
echo " 3. Run: sudo make image"
echo ""
echo "Philosophy: No CLI tools, GUI-only experience"
echo ""

View File

@@ -1,8 +1,6 @@
#!/bin/bash
# SparkOS Image Creation Script
# Creates a bootable dd-able disk image
# Note: This script runs on the host system and uses bash for ${BASH_SOURCE}
# The target system uses busybox sh instead.
set -e

View File

@@ -86,23 +86,10 @@ mkdir -p /staging/root/{bin,sbin,etc,proc,sys,dev,tmp,usr/{bin,sbin,lib,lib64},v
cp /build/init /staging/root/sbin/init
chmod 755 /staging/root/sbin/init
# Install busybox
echo "Installing busybox..."
cp /bin/busybox /staging/root/bin/busybox
chmod 755 /staging/root/bin/busybox
# Create busybox symlinks for essential commands
for cmd in sh ls cat echo mount umount mkdir rm cp mv chmod chown ln ps kill; do
ln -sf busybox /staging/root/bin/$cmd
done
# Create system configuration files
echo "sparkos" > /staging/root/etc/hostname
echo "127.0.0.1 localhost" > /staging/root/etc/hosts
echo "127.0.1.1 sparkos" >> /staging/root/etc/hosts
echo "root:x:0:0:root:/root:/bin/sh" > /staging/root/etc/passwd
echo "spark:x:1000:1000:SparkOS User:/home/spark:/bin/sh" >> /staging/root/etc/passwd
echo "root:x:0:" > /staging/root/etc/group
echo "spark:x:1000:" >> /staging/root/etc/group
# Copy README to root partition

View File

@@ -61,23 +61,10 @@ mkdir -p /staging/root/{bin,sbin,etc,proc,sys,dev,tmp,usr/{bin,sbin,lib,lib64},v
cp /build/init /staging/root/sbin/init
chmod 755 /staging/root/sbin/init
# Install busybox
echo "Installing busybox..."
cp /bin/busybox /staging/root/bin/busybox
chmod 755 /staging/root/bin/busybox
# Create busybox symlinks for essential commands
for cmd in sh ls cat echo mount umount mkdir rm cp mv chmod chown ln ps kill; do
ln -sf busybox /staging/root/bin/$cmd
done
# Create system configuration files
echo "sparkos" > /staging/root/etc/hostname
echo "127.0.0.1 localhost" > /staging/root/etc/hosts
echo "127.0.1.1 sparkos" >> /staging/root/etc/hosts
echo "root:x:0:0:root:/root:/bin/sh" > /staging/root/etc/passwd
echo "spark:x:1000:1000:SparkOS User:/home/spark:/bin/sh" >> /staging/root/etc/passwd
echo "root:x:0:" > /staging/root/etc/group
echo "spark:x:1000:" >> /staging/root/etc/group
# Copy README to root partition

View File

@@ -22,7 +22,6 @@ apt-get install -y \
grub-efi-amd64-bin \
grub-common \
wget \
busybox-static \
kmod \
udev
rm -rf /var/lib/apt/lists/*

View File

@@ -143,8 +143,8 @@ Build release artifacts without needing root or special tools:
## System Requirements
- Linux system with kernel 3.x or later
- Busybox for shell and utilities
- Linux system with kernel 3.x or later with framebuffer support
- Qt6 runtime libraries for GUI
- For building: Docker or GCC compiler and Make
## Documentation