mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-22 07:23:09 +00:00
workstation: Don't autostart gnome-software on live media
gnome-software session service automatically downloads yum metadata, which all goes to the RAM-backed filesystem overlay when running the live image. This is undesired as it can make it difficult to install Workstation on low memory devices. To fix this, this commit disables gnome-software xdg autostart service and the gnome-shell search provider on the live media. https://bugzilla.redhat.com/show_bug.cgi?id=1560504
This commit is contained in:
parent
af96d2b41f
commit
c236c5f53c
@ -17,12 +17,20 @@ part / --size 6656
|
||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||
|
||||
|
||||
# disable updates plugin
|
||||
# disable gnome-software automatically downloading updates
|
||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override << FOE
|
||||
[org.gnome.software]
|
||||
download-updates=false
|
||||
FOE
|
||||
|
||||
# don't autostart gnome-software session service
|
||||
rm -f /etc/xdg/autostart/gnome-software-service.desktop
|
||||
|
||||
# disable the gnome-software shell search provider
|
||||
cat >> /usr/share/gnome-shell/search-providers/org.gnome.Software-search-provider.ini << FOE
|
||||
DefaultDisabled=true
|
||||
FOE
|
||||
|
||||
# don't run gnome-initial-setup
|
||||
mkdir ~liveuser/.config
|
||||
touch ~liveuser/.config/gnome-initial-setup-done
|
||||
|
Loading…
Reference in New Issue
Block a user