summaryrefslogtreecommitdiff
path: root/build_files
diff options
context:
space:
mode:
authortranch <tranch.xiao@gmail.com>2026-11-17 01:48:26 +0800
committertranch <tranch.xiao@gmail.com>2026-11-17 01:48:26 +0800
commit7c9d6c1e358ea3c33aeef1191e3e02f001b083bd (patch)
tree38b3d703b46f4c497f1b28f0033068f7ee2ef877 /build_files
parent2d46b8296a7ee7243f5f6d2d01d6effa1e5b27e9 (diff)
downloadAeroCore-OS-7c9d6c1e358ea3c33aeef1191e3e02f001b083bd.tar.gz
AeroCore-OS-7c9d6c1e358ea3c33aeef1191e3e02f001b083bd.zip
Update existing Flatpak remotes at boottesting-45.20261116.1
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.
Diffstat (limited to 'build_files')
-rwxr-xr-xbuild_files/build.sh4
1 files changed, 4 insertions, 0 deletions
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