diff --git a/Containerfile b/Containerfile index 8cdd7bb..5ab4420 100644 --- a/Containerfile +++ b/Containerfile @@ -64,6 +64,18 @@ COPY configs/bootc-override.conf /etc/systemd/system/bootc-fetch-apply-updates.s # Wichtig: Das Skript muss auf deinem Host bereits mit 'chmod +x' markiert sein! COPY scripts/notify-bootc-user.sh /usr/bin/ +# ============================================================================= +# FLATPAK BAZAAR & SYSTEMD CONFIGURATION +# ============================================================================= + +# 4. Kopiere die Bazaar Preinstall-Deklaration +COPY configs/flatpak.preinstall /usr/share/flatpak/preinstall.d/ + +# 5. Kopiere und aktiviere den Systemd-Service für den Erst-Boot +COPY configs/flatpak-preinstall.service /usr/lib/systemd/system/flatpak-preinstall.service +RUN mkdir -p /usr/lib/systemd/system/multi-user.target.wants && \ + ln -s /usr/lib/systemd/system/flatpak-preinstall.service /usr/lib/systemd/system/multi-user.target.wants/flatpak-preinstall.service + ############################################################################### # LINTING & NATIVE RE-CHUNK GENERATION