From 7c9d6c1e358ea3c33aeef1191e3e02f001b083bd Mon Sep 17 00:00:00 2001 From: tranch Date: Tue, 17 Nov 2026 01:48:26 +0800 Subject: Update existing Flatpak remotes at boot Add a systemd oneshot that applies the configured Flathub mirror after Bazzite initializes system Flatpak remotes. Update an existing flathub URL, or create the remote first when it is missing. Cover both paths and invalid or empty mirror settings with behavior tests. --- .../usr/lib/systemd/system/aerocore-flatpak-mirror.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 system_files/usr/lib/systemd/system/aerocore-flatpak-mirror.service (limited to 'system_files/usr/lib/systemd') diff --git a/system_files/usr/lib/systemd/system/aerocore-flatpak-mirror.service b/system_files/usr/lib/systemd/system/aerocore-flatpak-mirror.service new file mode 100644 index 0000000..8aed8cb --- /dev/null +++ b/system_files/usr/lib/systemd/system/aerocore-flatpak-mirror.service @@ -0,0 +1,11 @@ +[Unit] +Description=Apply configured AeroCore Flatpak mirror +After=flatpak-add-fedora-repos.service bazzite-flatpak-manager.service +Wants=flatpak-add-fedora-repos.service bazzite-flatpak-manager.service + +[Service] +Type=oneshot +ExecStart=/usr/libexec/aerocore-configure-flatpak-mirror + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3