Skip to content

Commit 7928fff

Browse files
committed
feat: Remove system flatpaks while building image
And move this out of yafti
1 parent 0f62f91 commit 7928fff

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

Containerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ RUN if grep -v "nvidia" <<< "${IMAGE_NAME}"; then \
7979
; fi
8080

8181
# Add Flathub
82-
RUN flatpak remote-add --system --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo && \
82+
RUN flatpak remove --system --noninteractive --all && \
83+
flatpak remote-add --system --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo && \
8384
flatpak remote-modify --system flathub --no-filter --title="Flathub (System)"
8485

8586
# Cleanup & Finalize

system_files/deck/usr/share/ublue-os/firstboot/yafti.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ screens:
126126
- run: /usr/lib/fedora-third-party/fedora-third-party-opt-out
127127
- run: /usr/bin/fedora-third-party disable
128128
- run: flatpak remote-delete fedora --force
129-
- run: flatpak remove --system --noninteractive --all
130129
- run: flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo
131130
applications:
132131
source: yafti.screen.package

system_files/desktop/usr/share/ublue-os/firstboot/yafti.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ screens:
9393
- run: /usr/lib/fedora-third-party/fedora-third-party-opt-out
9494
- run: /usr/bin/fedora-third-party disable
9595
- run: flatpak remote-delete fedora --force
96-
- run: flatpak remove --system --noninteractive --all
9796
- run: flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo
9897
applications:
9998
source: yafti.screen.package

0 commit comments

Comments
 (0)