Files
vasilito 9db9c3bdc9 feat: ISO size reduction, user account, SDDM, PAM, VirtIO fixes, KDE/Qt patches
- Trim redbear-firmware from 1816MB to 143MB (GPU+WiFi only)
- Reduce filesystem_size from 8192 to 2048 MB
- Add unprivileged user account (uid=1000, sudo group)
- Add SDDM display manager recipe with Wayland-only patches
- Add pam-redbear PAM module for authentication
- Fix VirtIO queue timeout (SeqCst fence, remove permanent failure)
- KDE/KWin build fixes (libinput, wayland socket, ramfile, tabletmode)
- Qt6 build fixes (platformdefs, socket engine, Wayland integration)
- KF6 CMake fixes (attica, kcmutils, kcolorscheme, kcompletion, etc.)
- libxml2 build fix, libxkbcommon recipe fix
- Remove gcc-native/binutils-native from desktop ISO
2026-05-29 09:00:55 +03:00

30 lines
845 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
PROJECT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
IMAGE="${1:-$PROJECT_ROOT/build/x86_64/redbear-full/harddrive.img}"
BIOS="${OVMF_BIOS:-/usr/share/edk2/x64/OVMF_CODE.4m.fd}"
RAM="${QEMU_RAM:-8192}"
if [ ! -f "$IMAGE" ]; then
echo "ERROR: Image not found at $IMAGE" >&2
echo " Run 'make all CONFIG_NAME=redbear-full' first." >&2
exit 1
fi
if [ ! -f "$BIOS" ]; then
echo "ERROR: OVMF firmware not found at $BIOS" >&2
echo " Install edk2-ovmf or set OVMF_BIOS to the correct path." >&2
exit 1
fi
exec qemu-system-x86_64 \
-m "${RAM}" \
-drive if=pflash,format=raw,readonly=on,file="$BIOS" \
-drive file="$IMAGE",format=raw \
-device virtio-gpu-gl \
-display gtk,gl=on \
-enable-kvm \
-serial mon:stdio