Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWade Brainerd <wadetb@gmail.com>2009-12-22 04:18:15 (GMT)
committer Wade Brainerd <wadetb@gmail.com>2009-12-22 04:18:15 (GMT)
commit49b57396dfa21ed7558455b60f927c5a6fcef3f7 (patch)
tree9e5d36a5c681153081594e4c9d26f147b021c0c1
parent5a8b95be93d7d88f755e19a637938af182b5f239 (diff)
Patch Terminal to resolve crash when switching windows.blueberry-appliance
-rw-r--r--soas-appliance.ks21
-rw-r--r--soas-base.ks2
2 files changed, 22 insertions, 1 deletions
diff --git a/soas-appliance.ks b/soas-appliance.ks
index 6bd1401..3426e02 100644
--- a/soas-appliance.ks
+++ b/soas-appliance.ks
@@ -30,3 +30,24 @@ google-droid-sans-mono-fonts
google-droid-serif-fonts
%end
+
+%post --nochroot
+
+# Fix Terminal crash when switching to another activity.
+patch $INSTALL_ROOT/home/liveuser/Activities/Terminal.activity/terminal.py << EOF
+--- terminal.py 2009-12-21 22:12:06.027828821 -0500
++++ terminal.py.vtefix 2009-12-21 22:11:15.084855179 -0500
+@@ -369,9 +369,7 @@
+ for i in range(self._notebook.get_n_pages()):
+ page = self._notebook.get_nth_page(i)
+
+- def selected_cb(terminal, c, row, cb_data):
+- return 1
+- (scrollback_text, attributes_) = page.vt.get_text(selected_cb, 1)
++ (scrollback_text, attributes_) = page.vt.get_text(None)
+
+ scrollback_lines = scrollback_text.split('\n')
+
+EOF
+
+%end
diff --git a/soas-base.ks b/soas-base.ks
index 84d7c5e..7420564 100644
--- a/soas-base.ks
+++ b/soas-base.ks
@@ -153,7 +153,7 @@ rm -f /var/lib/rpm/__db*
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
# go ahead and pre-make the man -k cache (#455968)
-/usr/sbin/makewhatis -w
+#/usr/sbin/makewhatis -w
# make sure there aren't core files lying around
rm -f /core*