fix(gui): enable graphical.target and sddm display-manager for direct desktop boot and brand bootloader entries
This commit is contained in:
1 parent
bf41a69626
commit
a1758113a7
4 files changed
+55
-16
No files matched your search
@@ -46,10 +46,23 @@ jobs:
|
||||
# 3. Append KDE Plasma 6 desktop & AMD hardware packages
|
||||
cat profile/packages.x86_64 >> build_profile/packages.x86_64
|
||||
|
||||
# 4. Overlay our Airlys OS S1 branding, wallpapers, autologin and configs
|
||||
# 4. Brand bootloader menus with Airlys OS S1 (remove all third party names)
|
||||
find build_profile/efiboot build_profile/syslinux -type f -exec sed -i \
|
||||
-e 's/Arch Linux install medium/Airlys OS S1 Live \& Installer/g' \
|
||||
-e 's/Arch Linux/Airlys OS S1/g' \
|
||||
-e 's/archlinux/airlys/g' \
|
||||
-e 's/Archiso/Airlys OS/g' {} +
|
||||
|
||||
# 5. Enable Graphical Desktop Target & SDDM Display Manager (ensures direct boot to KDE GUI!)
|
||||
mkdir -p build_profile/airootfs/etc/systemd/system/graphical.target.wants/
|
||||
ln -sf /usr/lib/systemd/system/graphical.target build_profile/airootfs/etc/systemd/system/default.target
|
||||
ln -sf /usr/lib/systemd/system/sddm.service build_profile/airootfs/etc/systemd/system/display-manager.service
|
||||
ln -sf /usr/lib/systemd/system/sddm.service build_profile/airootfs/etc/systemd/system/graphical.target.wants/sddm.service
|
||||
|
||||
# 6. Overlay our Airlys OS S1 branding, wallpapers, autologin and configs
|
||||
cp -r profile/airootfs/* build_profile/airootfs/
|
||||
|
||||
# 5. Apply Airlys OS S1 profiledef (xz -Xbcj x86 compression)
|
||||
# 7. Apply Airlys OS S1 profiledef (xz -Xbcj x86 compression)
|
||||
cp -f profile/profiledef.sh build_profile/profiledef.sh
|
||||
|
||||
# 6. Build full production live bootable ISO
|
||||
|
||||
@@ -2,6 +2,9 @@ name: Capture Airlys OS S1 Live Boot Screenshot
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
workflow_run:
|
||||
workflows: ["Build Airlys OS S1 Production ISO"]
|
||||
types: [completed]
|
||||
push:
|
||||
paths:
|
||||
- '.github/workflows/screenshot.yml'
|
||||
@@ -43,13 +46,13 @@ jobs:
|
||||
KVM_OPTS="-enable-kvm -cpu host"
|
||||
fi
|
||||
|
||||
echo "Launching QEMU with Airlys OS S1 Live ISO..."
|
||||
echo "Launching QEMU with Airlys OS S1 Live ISO and VirtIO VGA..."
|
||||
qemu-system-x86_64 $KVM_OPTS \
|
||||
-m 4096 \
|
||||
-smp 2 \
|
||||
-cdrom bin/airlys.iso \
|
||||
-boot d \
|
||||
-vga std \
|
||||
-vga virtio \
|
||||
-display none \
|
||||
-qmp unix:/tmp/qemu/qmp.sock,server,nowait &
|
||||
QEMU_PID=$!
|
||||
@@ -57,20 +60,23 @@ jobs:
|
||||
|
||||
sleep 2
|
||||
|
||||
# Capture 1: Bootloader screen (at 8s)
|
||||
sleep 8
|
||||
# Capture 1: Bootloader menu screen (at 6s)
|
||||
sleep 6
|
||||
python3 scripts/capture_qemu.py /tmp/qemu/qmp.sock /tmp/captures/01_bootloader.ppm
|
||||
|
||||
# Send Enter key to immediately launch Airlys OS S1
|
||||
python3 scripts/capture_qemu.py /tmp/qemu/qmp.sock enter
|
||||
|
||||
# Capture 2: Systemd Kernel Boot (at 35s)
|
||||
sleep 25
|
||||
sleep 30
|
||||
python3 scripts/capture_qemu.py /tmp/qemu/qmp.sock /tmp/captures/02_kernel_boot.ppm
|
||||
|
||||
# Capture 3: Desktop Environment Session (at 80s)
|
||||
sleep 45
|
||||
# Capture 3: Desktop Environment Loading (at 85s)
|
||||
sleep 50
|
||||
python3 scripts/capture_qemu.py /tmp/qemu/qmp.sock /tmp/captures/03_airlys_desktop.ppm
|
||||
|
||||
# Capture 4: Fully Settled Desktop (at 110s)
|
||||
sleep 30
|
||||
# Capture 4: Fully Settled Desktop with Wallpaper & Dock (at 145s)
|
||||
sleep 60
|
||||
python3 scripts/capture_qemu.py /tmp/qemu/qmp.sock /tmp/captures/04_airlys_desktop_settled.ppm
|
||||
|
||||
kill -9 $QEMU_PID || true
|
||||
|
||||
Reference in new issue
Block a user