From 1fe8c6a4cbd65bdf9cc67d7ae2b9c4eb76c58016 Mon Sep 17 00:00:00 2001 From: James Reilly <5840441+hanthor@users.noreply.github.com> Date: Tue, 27 Oct 2026 18:07:56 +0000 Subject: [PATCH 1/5] fix: use a published Utah image for home server builds Co-authored-by: Claude Signed-off-by: James Reilly <5840441+hanthor@users.noreply.github.com> --- docs/src/servers/home-k8s-images.md | 2 +- server-images/Containerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/servers/home-k8s-images.md b/docs/src/servers/home-k8s-images.md index d04a7f6d..651f0ebe 100644 --- a/docs/src/servers/home-k8s-images.md +++ b/docs/src/servers/home-k8s-images.md @@ -14,7 +14,7 @@ Bootable container images for the home K8s cluster (bihar, karnataka, starter). Each image includes: -- **Base:** `projectbluefin/utah` (Hummingbird + GNOME 51 desktop + Bluefin theming) +- **Base:** `projectbluefin/utah:stable`, pinned by digest (Hummingbird + GNOME 51 desktop + Bluefin theming). Utah is experimental pre-alpha, including its stable stream. - **K3s:** Kubernetes v1.36.1 + SELinux policy - **Storage:** iSCSI utils, NFS utils, Longhorn tools - **Networking:** NetworkManager, Tailscale, iptables-nft diff --git a/server-images/Containerfile b/server-images/Containerfile index d42ab564..656d6fab 100644 --- a/server-images/Containerfile +++ b/server-images/Containerfile @@ -1,4 +1,4 @@ -ARG BASE_IMAGE=ghcr.io/projectbluefin/utah:latest +ARG BASE_IMAGE=ghcr.io/projectbluefin/utah@sha256:8388d48e20407fa477b6e8650d0b7a337a18ea411446d819e36e6f700e331eca ARG PACKAGE_IMAGE=ghcr.io/projectbluefin/utah-packages@sha256:d257e97a0057e37da47995bb142c180e2352960ab13bd44594215616a395b717 FROM ${PACKAGE_IMAGE} AS packages FROM ${BASE_IMAGE} AS common From 7ca2a09f910288258e009484928fefe7d6b15142 Mon Sep 17 00:00:00 2001 From: James Reilly <5840441+hanthor@users.noreply.github.com> Date: Tue, 27 Oct 2026 18:11:42 +0000 Subject: [PATCH 2/5] fix: include iSCSI and NFS packages in server images Co-authored-by: Claude Signed-off-by: James Reilly <5840441+hanthor@users.noreply.github.com> --- server-images/compose.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server-images/compose.sh b/server-images/compose.sh index c5b25bdb..42ce4f49 100755 --- a/server-images/compose.sh +++ b/server-images/compose.sh @@ -10,7 +10,7 @@ dnf5 -y --enable-repo=utah-packages --enable-repo=fedora-storage \ iwlwifi-dvm-firmware iwlwifi-mvm-firmware \ realtek-firmware mt7xxx-firmware atheros-firmware brcmfmac-firmware \ NetworkManager-wifi wpa_supplicant tailscale iptables-nft \ - xfsprogs btrfs-progs + xfsprogs btrfs-progs iscsi-initiator-utils nfs-utils curl --fail --location \ "https://github.com/k3s-io/k3s/releases/download/${K3S_VERSION}/k3s" -o /usr/bin/k3s From 04f0bfad33723169743e4581467174b12743f489 Mon Sep 17 00:00:00 2001 From: James Reilly <5840441+hanthor@users.noreply.github.com> Date: Tue, 27 Oct 2026 18:31:16 +0000 Subject: [PATCH 3/5] fix: unmask live installer gettys Co-authored-by: Claude Signed-off-by: James Reilly <5840441+hanthor@users.noreply.github.com> --- server-images/installer/configure.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server-images/installer/configure.sh b/server-images/installer/configure.sh index 9ed1aa5f..f9ef1667 100755 --- a/server-images/installer/configure.sh +++ b/server-images/installer/configure.sh @@ -6,6 +6,8 @@ dnf5 -y --enablerepo=fedora-storage --setopt=install_weak_deps=False \ install dracut-live systemd-boot-unsigned # These masks belong to live media only, never to the embedded server payload. systemctl mask k3s@server.service k3s@agent.service +# The Utah base masks serial-getty; live media needs both consoles for installation. +systemctl unmask getty@tty1.service serial-getty@ttyS0.service systemctl enable getty@tty1.service serial-getty@ttyS0.service mkdir -p /var/roothome kernel=$(basename /usr/lib/modules/*) From 9c437e2dc223c83facd534b12bb3361867c4976c Mon Sep 17 00:00:00 2001 From: James Reilly <5840441+hanthor@users.noreply.github.com> Date: Tue, 27 Oct 2026 19:07:39 +0000 Subject: [PATCH 4/5] fix: override vendor serial console mask on live media Co-authored-by: Claude Signed-off-by: James Reilly <5840441+hanthor@users.noreply.github.com> --- docs/src/servers/home-k8s-images.md | 2 ++ server-images/installer/configure.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/src/servers/home-k8s-images.md b/docs/src/servers/home-k8s-images.md index 651f0ebe..5405453e 100644 --- a/docs/src/servers/home-k8s-images.md +++ b/docs/src/servers/home-k8s-images.md @@ -51,6 +51,8 @@ Both are public (no login required). ### From Installer ISO +Live media enables the local console and serial `ttyS0` for installation, including when the base image masks the serial instance. + 1. **Boot the ISO** from USB stick (UEFI, Secure Boot must be disabled) 2. **At root console:** ```bash diff --git a/server-images/installer/configure.sh b/server-images/installer/configure.sh index f9ef1667..651f2b2d 100755 --- a/server-images/installer/configure.sh +++ b/server-images/installer/configure.sh @@ -8,6 +8,8 @@ dnf5 -y --enablerepo=fedora-storage --setopt=install_weak_deps=False \ systemctl mask k3s@server.service k3s@agent.service # The Utah base masks serial-getty; live media needs both consoles for installation. systemctl unmask getty@tty1.service serial-getty@ttyS0.service +# The image also masks this instance in /usr/lib; an /etc override wins over it. +ln -sfn /usr/lib/systemd/system/serial-getty@.service /etc/systemd/system/serial-getty@ttyS0.service systemctl enable getty@tty1.service serial-getty@ttyS0.service mkdir -p /var/roothome kernel=$(basename /usr/lib/modules/*) From 988e6478b62b8d5d95d790a54a776f3ed8bb8d63 Mon Sep 17 00:00:00 2001 From: James Reilly <5840441+hanthor@users.noreply.github.com> Date: Tue, 27 Oct 2026 19:14:12 +0000 Subject: [PATCH 5/5] fix: use available temporary directory for installer initramfs Co-authored-by: Claude Signed-off-by: James Reilly <5840441+hanthor@users.noreply.github.com> --- server-images/installer/configure.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server-images/installer/configure.sh b/server-images/installer/configure.sh index 651f2b2d..24805ee5 100755 --- a/server-images/installer/configure.sh +++ b/server-images/installer/configure.sh @@ -13,7 +13,8 @@ ln -sfn /usr/lib/systemd/system/serial-getty@.service /etc/systemd/system/serial systemctl enable getty@tty1.service serial-getty@ttyS0.service mkdir -p /var/roothome kernel=$(basename /usr/lib/modules/*) -dracut --force --reproducible --no-hostonly --add dmsquash-live --omit 'tpm2-tss pcsc' --add-drivers 'squashfs overlay loop iso9660 sr_mod cdrom' "/usr/lib/modules/$kernel/initramfs.img" "$kernel" 2>&1 | tee /tmp/dracut-installer.log +# The bootc payload deliberately clears /var; use the build container's /tmp. +TMPDIR=/tmp dracut --force --reproducible --no-hostonly --add dmsquash-live --omit 'tpm2-tss pcsc' --add-drivers 'squashfs overlay loop iso9660 sr_mod cdrom' "/usr/lib/modules/$kernel/initramfs.img" "$kernel" 2>&1 | tee /tmp/dracut-installer.log if grep -q 'dracut\[E\]: FAILED' /tmp/dracut-installer.log; then echo 'Live initramfs construction failed' >&2 exit 1