commit 34fc8988e586cc2abf579fd6067a36b48f94d03a
parent aa4687a9f872f39aa792c913931010bff7dae888
Author: Divan Visagie <me@divanv.com>
Date: Fri, 20 Nov 2026 21:48:01 +0100
Image: a static hostname, and no automatic updates that reboot
The initramfs carries Fedora's os-release, made when the base built it, so its DEFAULT_HOSTNAME ("fedora") set the hostname at 2.6 seconds into boot and ours came too late. /etc/hostname says sectorf. Regenerating the initramfs would also fix "Fedora Linux 45 (Initramfs)" in the early boot messages, but is left until it can be tested on its own.
bootc-fetch-apply-updates.timer is masked: it runs bootc upgrade --apply, which reboots the machine by itself when an update arrives, and refuses on one with a layered package. Updates are the user's to start, with rpm-ostree upgrade.
Neither is built or booted yet.
Diffstat:
3 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/linux/Containerfile b/linux/Containerfile
@@ -78,6 +78,11 @@ COPY build/desktop/ /
# word: the machine reboots into the old image. Seen on Fedora 45 with bootc
# 1.17.1 and ostree 2026.4 (upstream: cgwalters-forge/tracker#86, ostree#3664,
# bootc#2402, fixed in bootc 1.18). Remove the mask when the base carries the fix.
+# bootc-fetch-apply-updates.timer is masked the same way: it runs `bootc upgrade
+# --apply`, which reboots the machine by itself when an update arrives, and
+# refuses on one with a layered package. Updates are the user's to start, with
+# `rpm-ostree upgrade` (ADR-0009). /etc/hostname is here because the initramfs
+# carries Fedora's os-release, whose DEFAULT_HOSTNAME ("fedora") wins otherwise.
COPY system/ /
# The login screen's logo (system/etc/dconf/db/gdm.d/) is compiled into dconf's
diff --git a/linux/system/etc/hostname b/linux/system/etc/hostname
@@ -0,0 +1 @@
+sectorf
diff --git a/linux/system/etc/systemd/system/bootc-fetch-apply-updates.timer b/linux/system/etc/systemd/system/bootc-fetch-apply-updates.timer
@@ -0,0 +1 @@
+/dev/null
+\ No newline at end of file