diff --git a/build/10-repos.sh b/build/10-repos.sh index fa3e080..85c4c40 100755 --- a/build/10-repos.sh +++ b/build/10-repos.sh @@ -3,7 +3,7 @@ set -eoux pipefail FEDORA_VERSION="$(rpm -E %fedora)" dnf5 install -y \ - https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-${FEDORA_VERSION}.noarch.rpm \ - https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-${FEDORA_VERSION}.noarch.rpm + "https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-${FEDORA_VERSION}.noarch.rpm" \ + "https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-${FEDORA_VERSION}.noarch.rpm" dnf5 clean all \ No newline at end of file diff --git a/build/50-prepare-flatpak-for-bazaar.sh b/build/50-prepare-flatpak-for-bazaar.sh index 3674cd4..342a05b 100755 --- a/build/50-prepare-flatpak-for-bazaar.sh +++ b/build/50-prepare-flatpak-for-bazaar.sh @@ -1,8 +1,9 @@ -#!/usr/bin/env bash -set -oue pipefail +#!/usr/bin/bash +set -eoux pipefail echo "Downloading Flathub repository definition..." mkdir -p /usr/share/flatpak/remotes.d/ curl -f --retry 3 --retry-delay 5 -o /usr/share/flatpak/remotes.d/flathub.flatpakrepo https://dl.flathub.org/repo/flathub.flatpakrepo -echo "Configuring Flatpak system-wide extra languages..." -flatpak config --set extra-languages "de" \ No newline at end of file +# HINWEIS: `flatpak config --set extra-languages` steht bewusst NICHT hier: +# Es schreibt nach /var (verworfen beim Deployment) und laeuft stattdessen +# im flatpak-preinstall.service beim Erstboot (dort ist /var live). diff --git a/configs/flatpak-preinstall.service b/configs/flatpak-preinstall.service index 0166cca..0b193aa 100644 --- a/configs/flatpak-preinstall.service +++ b/configs/flatpak-preinstall.service @@ -7,6 +7,10 @@ ConditionPathExists=!/var/lib/flatpak/.preinstall-done [Service] Type=oneshot ExecStartPre=/usr/bin/flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo +# Systemweite Extra-Sprachen (hier, nicht im Build-Skript: schreibt nach +# /var, das es nur zur Laufzeit gibt). VOR install, damit Locale- +# Extensions gleich mitkommen. +ExecStart=/usr/bin/flatpak config --set extra-languages "de" ExecStart=/usr/bin/flatpak install -y flathub io.github.kolunmi.Bazaar com.brave.Browser ExecStartPost=/usr/bin/touch /var/lib/flatpak/.preinstall-done ExecStartPost=/usr/bin/systemctl disable flatpak-preinstall.service diff --git a/configs/humocs-man.yaml b/configs/humocs-man.yaml index e368e36..790d70b 100644 --- a/configs/humocs-man.yaml +++ b/configs/humocs-man.yaml @@ -1,3 +1,3 @@ docker: humocs-man.duckdns.org/humocs-man/fluffy-pancake: - use-sigstore-attachments: true \ No newline at end of file + use-sigstore-attachments: true diff --git a/scripts/notify-bootc-user.sh b/scripts/notify-bootc-user.sh index 43d3810..39bb4ef 100755 --- a/scripts/notify-bootc-user.sh +++ b/scripts/notify-bootc-user.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/bash set -euo pipefail BOOTC="/usr/bin/bootc"