Disable updates harder in Workstation and Robotics (#2064077)

Just setting `download-updates=false` seems not to be enough any
more, we get update notifications in live images currently. This
should fix that and also disable the Updates pane on GNOME
Software in the live environment, which is a nice improvement.

https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1683#note_1408750

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-03-15 08:27:23 -07:00
parent d56b41ce0d
commit f4300791a2
2 changed files with 2 additions and 0 deletions

View File

@ -107,6 +107,7 @@ FOE
# disable updates plugin # disable updates plugin
cat >> /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override << FOE cat >> /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override << FOE
[org.gnome.software] [org.gnome.software]
allow-updates=false
download-updates=false download-updates=false
FOE FOE

View File

@ -20,6 +20,7 @@ cat >> /etc/rc.d/init.d/livesys << EOF
# disable gnome-software automatically downloading updates # disable gnome-software automatically downloading updates
cat >> /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override << FOE cat >> /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override << FOE
[org.gnome.software] [org.gnome.software]
allow-updates=false
download-updates=false download-updates=false
FOE FOE