feat: split flatpak update units into user and system (#72)

This commit is contained in:
Jorge O. Castro
2023-02-22 20:18:38 -05:00
committed by GitHub
parent 901b9aa5e9
commit 99c15be6f0
6 changed files with 40 additions and 6 deletions

View File

@@ -9,6 +9,7 @@ FROM quay.io/fedora-ostree-desktops/silverblue:${FEDORA_MAJOR_VERSION}
RUN wget https://copr.fedorainfracloud.org/coprs/ublue-os/vanilla-first-setup/repo/fedora-$(rpm -E %fedora)/ublue-os-vanilla-first-setup-fedora-$(rpm -E %fedora).repo -O /etc/yum.repos.d/_copr_ublue-os-vanilla-first-setup.repo
COPY etc /etc
COPY usr /usr
COPY ublue-firstboot /usr/bin
@@ -16,7 +17,7 @@ RUN rpm-ostree override remove firefox firefox-langpacks && \
rpm-ostree install distrobox gnome-tweaks just vte291-gtk4-devel vanilla-first-setup && \
sed -i 's/#AutomaticUpdatePolicy.*/AutomaticUpdatePolicy=stage/' /etc/rpm-ostreed.conf && \
systemctl enable rpm-ostreed-automatic.timer && \
systemctl enable flatpak-automatic.timer && \
systemctl enable flatpak-system-update.timer && \
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_ublue-os-vanilla-first-setup.repo && \
rm -rf \
/tmp/* \