mirror of
https://github.com/johndoe6345789/SparkOS.git
synced 2026-04-24 13:34:56 +00:00
Extract embedded text from Dockerfiles and workflows to separate files
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
59
config/RELEASE_README.md
Normal file
59
config/RELEASE_README.md
Normal file
@@ -0,0 +1,59 @@
|
||||
# SparkOS Release Package
|
||||
|
||||
This package contains the compiled SparkOS init system and all necessary files to run or build SparkOS.
|
||||
|
||||
## Contents
|
||||
|
||||
- `init` - The compiled init binary (statically linked)
|
||||
- `src/` - Source code for the init system
|
||||
- `scripts/` - Build and setup scripts
|
||||
- `config/` - Configuration files
|
||||
- `rootfs/` - Root filesystem structure
|
||||
- `Makefile` - Build system
|
||||
- Documentation files (README.md, ARCHITECTURE.md, etc.)
|
||||
|
||||
## Quick Start
|
||||
|
||||
### Using the Pre-built Binary
|
||||
|
||||
The `init` binary is already compiled and ready to use:
|
||||
|
||||
```bash
|
||||
# Copy to your rootfs
|
||||
cp init /path/to/your/rootfs/sbin/init
|
||||
chmod 755 /path/to/your/rootfs/sbin/init
|
||||
```
|
||||
|
||||
### Rebuilding from Source
|
||||
|
||||
If you need to rebuild:
|
||||
|
||||
```bash
|
||||
# Build the init system
|
||||
make init
|
||||
|
||||
# Install to rootfs
|
||||
make install
|
||||
```
|
||||
|
||||
### Creating a Bootable System
|
||||
|
||||
Follow the instructions in README.md to create a complete bootable system.
|
||||
|
||||
## System Requirements
|
||||
|
||||
- Linux system with kernel 3.x or later
|
||||
- Busybox for shell and utilities
|
||||
- For building: GCC compiler, Make
|
||||
|
||||
## Documentation
|
||||
|
||||
See README.md for complete documentation, including:
|
||||
- Building instructions
|
||||
- Creating bootable images
|
||||
- Network configuration
|
||||
- Development guidelines
|
||||
|
||||
## Support
|
||||
|
||||
For issues and questions, visit: https://github.com/johndoe6345789/SparkOS
|
||||
73
config/image-release-readme.txt
Normal file
73
config/image-release-readme.txt
Normal file
@@ -0,0 +1,73 @@
|
||||
SparkOS UEFI-Bootable Disk Image
|
||||
==================================
|
||||
|
||||
This package contains a UEFI-bootable disk image with SparkOS.
|
||||
|
||||
Files:
|
||||
- sparkos.img.gz - Compressed UEFI-bootable disk image (~1GB)
|
||||
|
||||
What's Included:
|
||||
---------------
|
||||
✓ GPT partition table
|
||||
✓ EFI System Partition (ESP) with FAT32 filesystem
|
||||
✓ GRUB UEFI bootloader
|
||||
✓ Linux kernel
|
||||
✓ SparkOS init system
|
||||
✓ Busybox utilities
|
||||
✓ Basic FHS-compliant filesystem structure
|
||||
|
||||
Boot Support:
|
||||
------------
|
||||
✓ UEFI boot (x86_64 systems)
|
||||
✓ Automatic boot after 3 seconds
|
||||
✓ Console on tty1
|
||||
|
||||
Quick Start:
|
||||
-----------
|
||||
|
||||
1. Decompress the image:
|
||||
gunzip sparkos.img.gz
|
||||
|
||||
2. Write to USB drive (Linux - BE CAREFUL!):
|
||||
sudo dd if=sparkos.img of=/dev/sdX bs=4M status=progress oflag=sync
|
||||
|
||||
WARNING: Replace /dev/sdX with your actual USB drive device.
|
||||
This will DESTROY all data on the target drive!
|
||||
|
||||
3. Boot from USB:
|
||||
- Insert the USB drive into a UEFI-capable system
|
||||
- Enter BIOS/UEFI settings (usually F2, F12, DEL, or ESC at boot)
|
||||
- Select the USB drive as boot device
|
||||
- SparkOS should boot automatically
|
||||
|
||||
Advanced - Inspect Partitions:
|
||||
------------------------------
|
||||
|
||||
To mount and inspect the partitions:
|
||||
|
||||
# Set up loop device
|
||||
sudo losetup -fP --show sparkos.img
|
||||
# Note the loop device name (e.g., /dev/loop0)
|
||||
|
||||
# Mount ESP (EFI System Partition)
|
||||
sudo mount /dev/loop0p1 /mnt
|
||||
ls -la /mnt/EFI
|
||||
sudo umount /mnt
|
||||
|
||||
# Mount root partition
|
||||
sudo mount /dev/loop0p2 /mnt
|
||||
ls -la /mnt
|
||||
sudo umount /mnt
|
||||
|
||||
# Cleanup
|
||||
sudo losetup -d /dev/loop0
|
||||
|
||||
Documentation:
|
||||
-------------
|
||||
See the full documentation at:
|
||||
https://github.com/johndoe6345789/SparkOS
|
||||
|
||||
Support:
|
||||
-------
|
||||
For issues and questions, visit:
|
||||
https://github.com/johndoe6345789/SparkOS/issues
|
||||
Reference in New Issue
Block a user