diff options
-rw-r--r-- | soas-appliance.ks | 21 | ||||
-rw-r--r-- | soas-base.ks | 2 |
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* |