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. --- build_files/build.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'build_files') diff --git a/build_files/build.sh b/build_files/build.sh index 2d43e33..23e86cb 100755 --- a/build_files/build.sh +++ b/build_files/build.sh @@ -14,6 +14,10 @@ esac # Copy the contents of system_files/ of the git repo to / cp -avf "/ctx/system_files"/. / +# Apply configured Flatpak mirrors to existing installations as well as new +# remotes created from flathub.flatpakrepo during first boot. +systemctl enable aerocore-flatpak-mirror.service + # Keep Bazzite's game mode news hook unchanged; select the matching feed branch. NEWS_HOOK_CONFIG=/etc/gamemode-news-hook.conf if [[ ! -f "${NEWS_HOOK_CONFIG}" ]]; then -- cgit v1.2.3