Skip to content

Commit e0da57c

Browse files
committed
Build iso with gnome
1 parent bfe977e commit e0da57c

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/build-disk.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jobs:
5858
image-ref: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ matrix.variant.tag }}
5959
iso-dest: ${{ github.workspace }}/output.iso
6060
builder-distro: fedora
61+
hook-pre-initramfs: ${{ github.workspace }}/iso_files/hide_hyprland_session.sh
6162

6263
- name: Rename ISO and generate checksum
6364
id: rename

iso_files/hide_hyprland_session.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
set -euxo pipefail
3+
4+
# Hide Hyprland session so livesys detects GNOME for the live session
5+
# After install, the full image with Hyprland session will be deployed
6+
# This runs before rootfs-install-livesys-scripts
7+
if [ -f /usr/share/wayland-sessions/hyprland.desktop ]; then
8+
mv /usr/share/wayland-sessions/hyprland.desktop /usr/share/wayland-sessions/hyprland.desktop.hidden
9+
echo "Hyprland session hidden - livesys will detect GNOME instead"
10+
fi

0 commit comments

Comments
 (0)