970177482b
- Basic archiso profile with CLI-only system - Custom 'samios' CLI tool for system management - BIOS (syslinux) and UEFI (grub) boot support - System configuration (hostname, locale, network) - Automated script for first boot - Mirror selection utility - Documentation (README, installation guide, roadmap) - Font policy: excludes fonts with '7777' in name Next: automated installer, desktop environment, testing
24 lines
515 B
Bash
Executable File
24 lines
515 B
Bash
Executable File
#!/bin/bash
|
|
# SamiOS ISO build script
|
|
|
|
set -e
|
|
|
|
PROFILE_DIR="$(dirname "$0")"
|
|
WORK_DIR="${WORK_DIR:-/tmp/samios-build}"
|
|
OUT_DIR="${OUT_DIR:-$PROFILE_DIR/out}"
|
|
|
|
echo "Building SamiOS ISO..."
|
|
echo "Profile: $PROFILE_DIR"
|
|
echo "Work directory: $WORK_DIR"
|
|
echo "Output directory: $OUT_DIR"
|
|
|
|
# Clean previous build
|
|
rm -rf "$WORK_DIR"
|
|
mkdir -p "$WORK_DIR" "$OUT_DIR"
|
|
|
|
# Build the ISO using archiso
|
|
mkarchiso -v -w "$WORK_DIR" -o "$OUT_DIR" "$PROFILE_DIR"
|
|
|
|
echo "Build complete!"
|
|
echo "ISO location: $OUT_DIR/samios-*.iso"
|