mirror of
https://github.com/johndoe6345789/SparkOS.git
synced 2026-04-24 13:34:56 +00:00
Fix YAML syntax in release workflow
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
122
.github/workflows/release.yml
vendored
122
.github/workflows/release.yml
vendored
@@ -82,67 +82,67 @@ jobs:
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Create README for the release
|
# Create README for the release
|
||||||
cat > release/sparkos/RELEASE_README.md << 'EOF'
|
cat > release/sparkos/RELEASE_README.md << 'HEREDOC_EOF'
|
||||||
# SparkOS Release Package
|
# SparkOS Release Package
|
||||||
|
|
||||||
This package contains the compiled SparkOS init system and all necessary files to run or build SparkOS.
|
This package contains the compiled SparkOS init system and all necessary files to run or build SparkOS.
|
||||||
|
|
||||||
## Contents
|
## Contents
|
||||||
|
|
||||||
- `init` - The compiled init binary (statically linked)
|
- \`init\` - The compiled init binary (statically linked)
|
||||||
- `src/` - Source code for the init system
|
- \`src/\` - Source code for the init system
|
||||||
- `scripts/` - Build and setup scripts
|
- \`scripts/\` - Build and setup scripts
|
||||||
- `config/` - Configuration files
|
- \`config/\` - Configuration files
|
||||||
- `rootfs/` - Root filesystem structure
|
- \`rootfs/\` - Root filesystem structure
|
||||||
- `Makefile` - Build system
|
- \`Makefile\` - Build system
|
||||||
- Documentation files (README.md, ARCHITECTURE.md, etc.)
|
- Documentation files (README.md, ARCHITECTURE.md, etc.)
|
||||||
|
|
||||||
## Quick Start
|
## Quick Start
|
||||||
|
|
||||||
### Using the Pre-built Binary
|
### Using the Pre-built Binary
|
||||||
|
|
||||||
The `init` binary is already compiled and ready to use:
|
The \`init\` binary is already compiled and ready to use:
|
||||||
|
|
||||||
```bash
|
\`\`\`bash
|
||||||
# Copy to your rootfs
|
# Copy to your rootfs
|
||||||
cp init /path/to/your/rootfs/sbin/init
|
cp init /path/to/your/rootfs/sbin/init
|
||||||
chmod 755 /path/to/your/rootfs/sbin/init
|
chmod 755 /path/to/your/rootfs/sbin/init
|
||||||
```
|
\`\`\`
|
||||||
|
|
||||||
### Rebuilding from Source
|
### Rebuilding from Source
|
||||||
|
|
||||||
If you need to rebuild:
|
If you need to rebuild:
|
||||||
|
|
||||||
```bash
|
\`\`\`bash
|
||||||
# Build the init system
|
# Build the init system
|
||||||
make init
|
make init
|
||||||
|
|
||||||
# Install to rootfs
|
# Install to rootfs
|
||||||
make install
|
make install
|
||||||
```
|
\`\`\`
|
||||||
|
|
||||||
### Creating a Bootable System
|
### Creating a Bootable System
|
||||||
|
|
||||||
Follow the instructions in README.md to create a complete bootable system.
|
Follow the instructions in README.md to create a complete bootable system.
|
||||||
|
|
||||||
## System Requirements
|
## System Requirements
|
||||||
|
|
||||||
- Linux system with kernel 3.x or later
|
- Linux system with kernel 3.x or later
|
||||||
- Busybox for shell and utilities
|
- Busybox for shell and utilities
|
||||||
- For building: GCC compiler, Make
|
- For building: GCC compiler, Make
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
See README.md for complete documentation, including:
|
See README.md for complete documentation, including:
|
||||||
- Building instructions
|
- Building instructions
|
||||||
- Creating bootable images
|
- Creating bootable images
|
||||||
- Network configuration
|
- Network configuration
|
||||||
- Development guidelines
|
- Development guidelines
|
||||||
|
|
||||||
## Support
|
## Support
|
||||||
|
|
||||||
For issues and questions, visit: https://github.com/johndoe6345789/SparkOS
|
For issues and questions, visit: https://github.com/johndoe6345789/SparkOS
|
||||||
EOF
|
HEREDOC_EOF
|
||||||
|
|
||||||
echo "Package prepared in release/sparkos/"
|
echo "Package prepared in release/sparkos/"
|
||||||
ls -la release/sparkos/
|
ls -la release/sparkos/
|
||||||
|
|||||||
Reference in New Issue
Block a user