Fix iso.toml schema; add first-boot service and ISO customizations

This commit is contained in:
humocs-man
2026-03-01 22:09:11 +01:00
parent 043129c2f0
commit e04a4a9a2d
4 changed files with 40 additions and 0 deletions
@@ -0,0 +1 @@
enable fluffy-pancake-firstboot.service
@@ -0,0 +1,13 @@
[Unit]
Description=Fluffy Pancake First Boot Initialization
ConditionFirstBoot=yes
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/libexec/fluffy-pancake/firstboot.sh
RemainAfterExit=yes
[Install]
WantedBy=first-boot-complete.target
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -euo pipefail
echo "[fluffy-pancake-firstboot] starting"
if systemctl list-unit-files | grep -q '^brew-setup.service'; then
systemctl start brew-setup.service || true
fi
if systemctl list-unit-files | grep -q '^flatpak-add-fedora-repos.service'; then
systemctl start flatpak-add-fedora-repos.service || true
fi
echo "[fluffy-pancake-firstboot] done"
+12
View File
@@ -24,3 +24,15 @@ enable = [
disable = [ disable = [
"org.fedoraproject.Anaconda.Modules.Subscription" "org.fedoraproject.Anaconda.Modules.Subscription"
] ]
[[customizations.files]]
path = "/files/usr/lib/systemd/system/fluffy-pancake-firstboot.service"
destination = "/usr/lib/systemd/system/fluffy-pancake-firstboot.service"
[[customizations.files]]
path = "/files/usr/libexec/fluffy-pancake/firstboot.sh"
destination = "/usr/libexec/fluffy-pancake/firstboot.sh"
[[customizations.files]]
path = "/files/usr/lib/systemd/system-preset/90-fluffy-pancake-firstboot.preset"
destination = "/usr/lib/systemd/system-preset/90-fluffy-pancake-firstboot.preset"