From 80b09dc2408fdfec41c7eabcb1422f5759699bf8 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 9 Nov 2009 10:48:19 -0500 Subject: [PATCH] Turn off PackageKit-command-not-found on the uninstalled live CD This makes sense, since we already disable the rest of PackageKit, and command-not-found causes long waits, downloading repodata which would normally be available locally, but is missing on the uninstalled live image. --- fedora-livecd-desktop.ks | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fedora-livecd-desktop.ks b/fedora-livecd-desktop.ks index 7566555..ce3dce1 100644 --- a/fedora-livecd-desktop.ks +++ b/fedora-livecd-desktop.ks @@ -118,6 +118,9 @@ chmod a+x /home/liveuser/Desktop/liveinst.desktop gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/nautilus/desktop/trash_icon_visible false >/dev/null gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/nautilus/desktop/home_icon_visible false >/dev/null +# Turn off PackageKit-command-not-found while uninstalled +sed -i -e 's/^SoftwareSourceSearch=true/SoftwareSourceSearch=false/' /etc/PackageKit/CommandNotFound.conf + EOF %end