fix(rpm-ostreed): Set automatic update policy to none

We are using ublue-update for automatic updates already
This commit is contained in:
RJ Trujillo 2023-08-10 09:04:05 -06:00
parent d8387d018e
commit ab08e10b43

View File

@ -135,6 +135,7 @@ RUN rm /usr/share/applications/shredder.desktop && \
"/usr/etc/profile.d/ublue-firstboot.sh" && \ "/usr/etc/profile.d/ublue-firstboot.sh" && \
cp "/usr/share/ublue-os/firstboot/yafti.yml" "/etc/yafti.yml" && \ cp "/usr/share/ublue-os/firstboot/yafti.yml" "/etc/yafti.yml" && \
pip install --prefix=/usr yafti && \ pip install --prefix=/usr yafti && \
sed -i 's/stage/none/g' /etc/rpm-ostreed.conf && \
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_ublue-os-akmods.repo && \ sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_ublue-os-akmods.repo && \
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-bazzite.repo && \ sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-bazzite.repo && \
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-bazzite-multilib.repo && \ sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-bazzite-multilib.repo && \