fix: Terra-Pakete via --repofrompath installieren (Repo-File-Zuverlaessigkeit)

This commit is contained in:
humocs-man committed 2026-11-08 11:40:13 +01:00
1 parent b72f2c21ff
commit 567771c498
2 files changed
+24 -18

No files matched your search

+10 -15
View File
@@ -12,26 +12,21 @@ set -eoux pipefail
###############################################################################
echo "Installing Umbriel compositor + Noctalia Shell..."
# Frische Metadaten erzwingen (Terra CDN-Desync-Schutz, siehe 10-repos.sh).
dnf5 clean metadata 2>/dev/null || true
# Terra-Hickup-Schutz: Pakete muessen sichtbar sein, sonst abbrechen.
for pkg in umbriel-nightly xdg-desktop-portal-umbriel-nightly; do
if ! dnf5 list available "${pkg}" 2>/dev/null | grep -q "${pkg}"; then
echo "Terra liefert ${pkg} gerade nicht - Metadata-Refresh + 1 Retry..."
dnf5 clean all
dnf5 list available "${pkg}" 2>/dev/null | grep -q "${pkg}" \
|| { echo "FEHLER: ${pkg} nicht in Terra (CDN-Hickup? spaeter neu bauen)"; exit 1; }
fi
done
# Umbriel (Compositor) + Portal + Noctalia Shell (Desktop-Shell)
FEDORA_VERSION="$(rpm -E %fedora)"
# Umbriel + Portal direkt aus dem Terra-Repo installieren (mit --repofrompath,
# da das Terra-Repo-File aus 10-repos.sh ggf. nicht zuverlaessig gefunden wird).
# --nogpgcheck noetig fuer das Bootstrap (Terra-GPG-Key erst durch terra-release).
dnf5 install -y \
--allowerasing \
--nogpgcheck \
--repofrompath "terra,https://repos.fyralabs.com/terra${FEDORA_VERSION}" \
umbriel-nightly \
xdg-desktop-portal-umbriel-nightly \
xdg-desktop-portal-umbriel-nightly
# Noctalia Shell + Desktop-Basis aus Fedora-Repos
dnf5 install -y \
--allowerasing \
noctalia \
flatpak \
adw-gtk3-theme \