From c236c5f53c4669b2024c8863ba0fed178116a74b Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Mon, 26 Mar 2018 11:13:21 +0200 Subject: [PATCH] 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 --- fedora-live-workstation.ks | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/fedora-live-workstation.ks b/fedora-live-workstation.ks index 32dd39c..38b297c 100644 --- a/fedora-live-workstation.ks +++ b/fedora-live-workstation.ks @@ -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