Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- === modified file 'd-i/manifest'
- --- d-i/manifest 2009-02-25 11:05:12 +0000
- +++ d-i/manifest 2009-02-27 08:05:49 +0000
- @@ -1,4 +1,4 @@
- -apt-setup 1:0.37ubuntu9
- +apt-setup 1:0.37ubuntu10
- base-installer 1.98ubuntu2
- choose-mirror 2.27ubuntu3
- clock-setup 0.97ubuntu2
- @@ -7,7 +7,7 @@
- grub-installer 1.36ubuntu2
- hw-detect 1.71ubuntu4
- kboot-installer 0.0.1ubuntu8
- -localechooser 2.09ubuntu1
- +localechooser 2.09ubuntu2
- migration-assistant 0.6.2
- partconf 1.30ubuntu1
- partman-auto 84ubuntu1
- @@ -19,12 +19,12 @@
- partman-ext3 55ubuntu2
- partman-jfs 29ubuntu1
- partman-newworld 20ubuntu1
- -partman-partitioning 64ubuntu3
- +partman-partitioning 64ubuntu4
- partman-reiserfs 44ubuntu1
- partman-target 58ubuntu4
- partman-xfs 43ubuntu1
- preseed 1.41ubuntu1
- silo-installer 1.15ubuntu1
- tzsetup 1:0.24ubuntu1
- -user-setup 1.23ubuntu13
- +user-setup 1.23ubuntu14
- yaboot-installer 1.1.14ubuntu1
- === modified file 'debian/changelog'
- --- debian/changelog 2009-02-27 06:48:28 +0000
- +++ debian/changelog 2009-02-27 08:05:50 +0000
- @@ -16,6 +16,9 @@
- [ Mario Limonciello ]
- * Remove dead AdditionalDrivers code.
- + * Automatic update of included source packages: apt-setup
- + 1:0.37ubuntu10, localechooser 2.09ubuntu2, partman-partitioning
- + 64ubuntu4, user-setup 1.23ubuntu14.
- -- Colin Watson <cjwatson@ubuntu.com> Wed, 25 Feb 2009 10:44:52 +0000
- === modified file 'debian/ubiquity-frontend-mythbuntu.templates'
- --- debian/ubiquity-frontend-mythbuntu.templates 2009-02-14 19:05:01 +0000
- +++ debian/ubiquity-frontend-mythbuntu.templates 2009-02-27 07:21:15 +0000
- @@ -184,10 +184,6 @@
- Type: boolean
- Description: for internal use; determines if vnc is enabled
- -Template: mythbuntu/x11vnc_password
- -Type: string
- -Description: for internal use; stores the chosen vnc password
- -
- Template: mythbuntu/openssh-server
- Type: boolean
- Description: for internal use; determines if ssh is enabled
- === modified file 'gui/glade/mythbuntu_stepPasswords.glade'
- --- gui/glade/mythbuntu_stepPasswords.glade 2008-09-04 07:04:44 +0000
- +++ gui/glade/mythbuntu_stepPasswords.glade 2009-02-27 08:41:41 +0000
- @@ -1,6 +1,6 @@
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
- <!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
- -<!--Generated with glade3 3.4.5 on Thu Sep 4 01:33:05 2008 -->
- +<!--Generated with glade3 3.4.5 on Fri Feb 27 01:36:54 2009 -->
- <glade-interface>
- <widget class="GtkWindow" id="dummy_window">
- <property name="visible">True</property>
- @@ -14,7 +14,7 @@
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="xalign">0</property>
- - <property name="label" translatable="yes"><big><b>MythTV Related Passwords</b></big></property>
- + <property name="label" translatable="yes"><big><b>Master Backend Connection Information</b></big></property>
- <property name="use_markup">True</property>
- <property name="single_line_mode">True</property>
- </widget>
- @@ -35,496 +35,150 @@
- </packing>
- </child>
- <child>
- - <widget class="GtkVBox" id="vbox10">
- + <widget class="GtkVBox" id="vbox4">
- <property name="visible">True</property>
- - <property name="spacing">15</property>
- - <child>
- - <widget class="GtkExpander" id="master_backend_expander">
- - <property name="can_focus">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="expanded">True</property>
- - <child>
- - <widget class="GtkVBox" id="vbox4">
- - <property name="visible">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="spacing">5</property>
- - <child>
- - <widget class="GtkLabel" id="master_backend_expander_description">
- - <property name="width_request">650</property>
- - <property name="visible">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="xalign">0</property>
- - <property name="label" translatable="yes">This information can be gathered from your pre-existing MythTV backend. It is typically stored in a file titled <b>mysql.txt</b>. On an Mythbuntu or Ubuntu system, this is found in <b>/etc/mythtv/mysql.txt</b>. If you have already entered it in the Live environment, this can be filled out for you.</property>
- - <property name="use_markup">True</property>
- - <property name="wrap">True</property>
- - </widget>
- - <packing>
- - <property name="expand">False</property>
- - </packing>
- - </child>
- - <child>
- - <placeholder/>
- - </child>
- - <child>
- - <widget class="GtkTable" id="master_backend_table">
- - <property name="visible">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="n_rows">4</property>
- - <property name="n_columns">2</property>
- - <child>
- - <widget class="GtkLabel" id="mysql_server_label">
- - <property name="width_request">400</property>
- - <property name="visible">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="xalign">0</property>
- - <property name="xpad">10</property>
- - <property name="label" translatable="yes">MySQL Server</property>
- - </widget>
- - <packing>
- - <property name="x_options"></property>
- - </packing>
- - </child>
- - <child>
- - <widget class="GtkLabel" id="mysql_database_label">
- - <property name="width_request">400</property>
- - <property name="visible">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="xalign">0</property>
- - <property name="xpad">10</property>
- - <property name="label" translatable="yes">MySQL Database</property>
- - </widget>
- - <packing>
- - <property name="top_attach">1</property>
- - <property name="bottom_attach">2</property>
- - <property name="x_options"></property>
- - </packing>
- - </child>
- - <child>
- - <widget class="GtkLabel" id="mysql_user_label">
- - <property name="width_request">400</property>
- - <property name="visible">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="xalign">0</property>
- - <property name="xpad">10</property>
- - <property name="label" translatable="yes">MySQL User Name </property>
- - </widget>
- - <packing>
- - <property name="top_attach">2</property>
- - <property name="bottom_attach">3</property>
- - <property name="x_options"></property>
- - </packing>
- - </child>
- - <child>
- - <widget class="GtkLabel" id="mysql_password_label">
- - <property name="width_request">400</property>
- - <property name="visible">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="xalign">0</property>
- - <property name="xpad">10</property>
- - <property name="label" translatable="yes">MySQL Password</property>
- - </widget>
- - <packing>
- - <property name="top_attach">3</property>
- - <property name="bottom_attach">4</property>
- - <property name="x_options"></property>
- - </packing>
- - </child>
- - <child>
- - <widget class="GtkEntry" id="mysql_server">
- - <property name="width_request">200</property>
- - <property name="visible">True</property>
- - <property name="can_focus">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - </widget>
- - <packing>
- - <property name="left_attach">1</property>
- - <property name="right_attach">2</property>
- - <property name="x_options"></property>
- - </packing>
- - </child>
- - <child>
- - <widget class="GtkEntry" id="mysql_user">
- - <property name="width_request">200</property>
- - <property name="visible">True</property>
- - <property name="can_focus">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="text" translatable="yes">mythtv</property>
- - </widget>
- - <packing>
- - <property name="left_attach">1</property>
- - <property name="right_attach">2</property>
- - <property name="top_attach">2</property>
- - <property name="bottom_attach">3</property>
- - <property name="x_options"></property>
- - </packing>
- - </child>
- - <child>
- - <widget class="GtkEntry" id="mysql_password">
- - <property name="width_request">200</property>
- - <property name="visible">True</property>
- - <property name="can_focus">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="visibility">False</property>
- - </widget>
- - <packing>
- - <property name="left_attach">1</property>
- - <property name="right_attach">2</property>
- - <property name="top_attach">3</property>
- - <property name="bottom_attach">4</property>
- - <property name="x_options"></property>
- - </packing>
- - </child>
- - <child>
- - <widget class="GtkEntry" id="mysql_database">
- - <property name="width_request">200</property>
- - <property name="visible">True</property>
- - <property name="can_focus">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="text" translatable="yes">mythconverg</property>
- - </widget>
- - <packing>
- - <property name="left_attach">1</property>
- - <property name="right_attach">2</property>
- - <property name="top_attach">1</property>
- - <property name="bottom_attach">2</property>
- - <property name="x_options"></property>
- - </packing>
- - </child>
- - </widget>
- - <packing>
- - <property name="expand">False</property>
- - <property name="position">2</property>
- - </packing>
- - </child>
- - <child>
- - <widget class="GtkHBox" id="hbox1">
- - <property name="width_request">400</property>
- - <property name="visible">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <child>
- - <widget class="GtkAlignment" id="alignment1">
- - <property name="width_request">150</property>
- - <property name="visible">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="xalign">0</property>
- - <property name="xscale">0.039999999105930328</property>
- - <child>
- - <widget class="GtkButton" id="connectiontest_button">
- - <property name="visible">True</property>
- - <property name="can_focus">True</property>
- - <property name="receives_default">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="label" translatable="yes">Test Connection</property>
- - <property name="xalign">0</property>
- - <property name="response_id">0</property>
- - <signal name="clicked" handler="do_connection_test"/>
- - </widget>
- - </child>
- - </widget>
- - <packing>
- - <property name="expand">False</property>
- - <property name="fill">False</property>
- - </packing>
- - </child>
- - <child>
- - <widget class="GtkLabel" id="connection_results_label">
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="xalign">1</property>
- - <property name="label" translatable="yes">Connection Results:</property>
- - </widget>
- - <packing>
- - <property name="padding">10</property>
- - <property name="position">1</property>
- - </packing>
- - </child>
- - <child>
- - <widget class="GtkLabel" id="connection_results">
- - <property name="width_request">200</property>
- - <property name="visible">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="xalign">0</property>
- - <property name="label" translatable="yes">Please <b>Test</b> your connection to proceed.</property>
- - <property name="use_markup">True</property>
- - <property name="wrap">True</property>
- - </widget>
- - <packing>
- - <property name="position">2</property>
- - </packing>
- - </child>
- - </widget>
- - <packing>
- - <property name="position">3</property>
- - </packing>
- - </child>
- - </widget>
- - </child>
- - <child>
- - <widget class="GtkLabel" id="master_backend_expander_label">
- - <property name="visible">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="label" translatable="yes">Master Backend Connection Information</property>
- - </widget>
- - <packing>
- - <property name="type">label_item</property>
- - </packing>
- - </child>
- - </widget>
- - <packing>
- - <property name="expand">False</property>
- - </packing>
- - </child>
- - <child>
- - <widget class="GtkExpander" id="mythweb_expander">
- - <property name="width_request">600</property>
- - <property name="visible">True</property>
- - <property name="can_focus">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="expanded">True</property>
- - <child>
- - <widget class="GtkVBox" id="vbox3">
- - <property name="visible">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="spacing">5</property>
- - <child>
- - <widget class="GtkLabel" id="mythweb_expander_description">
- - <property name="width_request">650</property>
- - <property name="visible">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="xalign">0</property>
- - <property name="label" translatable="yes">It is a good idea to setup security for Mythweb. This can prevent unauthorized external access.</property>
- - <property name="wrap">True</property>
- - </widget>
- - <packing>
- - <property name="expand">False</property>
- - <property name="fill">False</property>
- - </packing>
- - </child>
- - <child>
- - <widget class="GtkCheckButton" id="usemythwebpassword">
- - <property name="visible">True</property>
- - <property name="can_focus">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="label" translatable="yes">Set Mythweb Security</property>
- - <property name="response_id">0</property>
- - <property name="draw_indicator">True</property>
- - <signal name="toggled" handler="usemythwebpassword_toggled"/>
- - </widget>
- - <packing>
- - <property name="expand">False</property>
- - <property name="fill">False</property>
- - <property name="position">1</property>
- - </packing>
- - </child>
- - <child>
- - <widget class="GtkTable" id="mythweb_table">
- - <property name="width_request">600</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="n_rows">2</property>
- - <property name="n_columns">3</property>
- - <child>
- - <widget class="GtkImage" id="mythweb_user_error_image">
- - <property name="stock">gtk-dialog-error</property>
- - </widget>
- - <packing>
- - <property name="left_attach">2</property>
- - <property name="right_attach">3</property>
- - <property name="x_options"></property>
- - <property name="y_options"></property>
- - </packing>
- - </child>
- - <child>
- - <widget class="GtkEntry" id="mythweb_username">
- - <property name="width_request">200</property>
- - <property name="visible">True</property>
- - <property name="can_focus">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <signal name="changed" handler="mythbuntu_password"/>
- - </widget>
- - <packing>
- - <property name="left_attach">1</property>
- - <property name="right_attach">2</property>
- - <property name="x_options">GTK_FILL</property>
- - </packing>
- - </child>
- - <child>
- - <widget class="GtkLabel" id="mythweb_username_label">
- - <property name="width_request">400</property>
- - <property name="visible">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="xalign">0</property>
- - <property name="xpad">10</property>
- - <property name="label" translatable="yes">Mythweb Username </property>
- - </widget>
- - <packing>
- - <property name="x_options">GTK_FILL</property>
- - <property name="y_options"></property>
- - </packing>
- - </child>
- - <child>
- - <widget class="GtkLabel" id="mythweb_password_label">
- - <property name="width_request">400</property>
- - <property name="visible">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="xalign">0</property>
- - <property name="xpad">10</property>
- - <property name="label" translatable="yes">Mythweb Password </property>
- - </widget>
- - <packing>
- - <property name="top_attach">1</property>
- - <property name="bottom_attach">2</property>
- - <property name="x_options">GTK_FILL</property>
- - </packing>
- - </child>
- - <child>
- - <widget class="GtkEntry" id="mythweb_password">
- - <property name="width_request">200</property>
- - <property name="visible">True</property>
- - <property name="can_focus">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="visibility">False</property>
- - <signal name="changed" handler="mythbuntu_password"/>
- - </widget>
- - <packing>
- - <property name="left_attach">1</property>
- - <property name="right_attach">2</property>
- - <property name="top_attach">1</property>
- - <property name="bottom_attach">2</property>
- - <property name="x_options">GTK_FILL</property>
- - </packing>
- - </child>
- - <child>
- - <widget class="GtkImage" id="mythweb_pass_error_image">
- - <property name="stock">gtk-dialog-error</property>
- - </widget>
- - <packing>
- - <property name="left_attach">2</property>
- - <property name="right_attach">3</property>
- - <property name="top_attach">1</property>
- - <property name="bottom_attach">2</property>
- - <property name="x_options"></property>
- - </packing>
- - </child>
- - </widget>
- - <packing>
- - <property name="expand">False</property>
- - <property name="fill">False</property>
- - <property name="position">2</property>
- - </packing>
- - </child>
- - </widget>
- - </child>
- - <child>
- - <widget class="GtkLabel" id="mythweb_expander_label">
- - <property name="visible">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="label" translatable="yes">Mythweb Access Password</property>
- - </widget>
- - <packing>
- - <property name="type">label_item</property>
- - </packing>
- - </child>
- - </widget>
- - <packing>
- - <property name="expand">False</property>
- - <property name="position">1</property>
- - </packing>
- - </child>
- - <child>
- - <widget class="GtkExpander" id="mysql_server_expander">
- - <property name="visible">True</property>
- - <property name="can_focus">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="expanded">True</property>
- - <child>
- - <widget class="GtkVBox" id="vbox1">
- - <property name="visible">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="spacing">5</property>
- - <child>
- - <widget class="GtkLabel" id="mysql_server_expander_description">
- - <property name="width_request">650</property>
- - <property name="visible">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="xalign">0</property>
- - <property name="label" translatable="yes">If you will be connecting to your backend remotely, be sure to set a password for the root user.</property>
- - <property name="wrap">True</property>
- - </widget>
- - <packing>
- - <property name="expand">False</property>
- - </packing>
- - </child>
- - <child>
- - <widget class="GtkCheckButton" id="usemysqlrootpassword">
- - <property name="visible">True</property>
- - <property name="can_focus">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="label" translatable="yes">Set MySQL Database Root Password</property>
- - <property name="response_id">0</property>
- - <property name="draw_indicator">True</property>
- - <signal name="toggled" handler="usemysqlrootpassword_toggled"/>
- - </widget>
- - <packing>
- - <property name="expand">False</property>
- - <property name="fill">False</property>
- - <property name="position">1</property>
- - </packing>
- - </child>
- - <child>
- - <widget class="GtkHBox" id="mysql_server_hbox">
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <child>
- - <widget class="GtkLabel" id="mysql_root_password_label">
- - <property name="width_request">400</property>
- - <property name="visible">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="xalign">0</property>
- - <property name="xpad">10</property>
- - <property name="label" translatable="yes">MySQL Root Password</property>
- - </widget>
- - <packing>
- - <property name="expand">False</property>
- - <property name="padding">3</property>
- - </packing>
- - </child>
- - <child>
- - <widget class="GtkEntry" id="mysql_root_password">
- - <property name="width_request">200</property>
- - <property name="visible">True</property>
- - <property name="can_focus">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="visibility">False</property>
- - <signal name="changed" handler="mythbuntu_password"/>
- - </widget>
- - <packing>
- - <property name="expand">False</property>
- - <property name="position">1</property>
- - </packing>
- - </child>
- - <child>
- - <widget class="GtkImage" id="mysql_root_error_image">
- - <property name="stock">gtk-dialog-error</property>
- - </widget>
- - <packing>
- - <property name="expand">False</property>
- - <property name="position">2</property>
- - </packing>
- - </child>
- - </widget>
- - <packing>
- - <property name="expand">False</property>
- - <property name="position">2</property>
- - </packing>
- - </child>
- - </widget>
- - </child>
- - <child>
- - <widget class="GtkLabel" id="mysql_server_expander_label">
- - <property name="visible">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="label" translatable="yes">MySQL Server Root Password</property>
- - </widget>
- - <packing>
- - <property name="type">label_item</property>
- + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- + <property name="spacing">5</property>
- + <child>
- + <widget class="GtkLabel" id="master_backend_expander_description">
- + <property name="width_request">650</property>
- + <property name="visible">True</property>
- + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- + <property name="xalign">0</property>
- + <property name="label" translatable="yes">This information can be gathered from your pre-existing MythTV backend. It is typically stored in a file titled <b>mysql.txt</b>. On an Mythbuntu or Ubuntu system, this is found in <b>/etc/mythtv/mysql.txt</b>. If you have already entered it in the Live environment, this can be filled out for you.</property>
- + <property name="use_markup">True</property>
- + <property name="wrap">True</property>
- + </widget>
- + <packing>
- + <property name="expand">False</property>
- + </packing>
- + </child>
- + <child>
- + <placeholder/>
- + </child>
- + <child>
- + <widget class="GtkTable" id="master_backend_table">
- + <property name="visible">True</property>
- + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- + <property name="n_rows">4</property>
- + <property name="n_columns">2</property>
- + <child>
- + <widget class="GtkEntry" id="mysql_database">
- + <property name="width_request">200</property>
- + <property name="visible">True</property>
- + <property name="can_focus">True</property>
- + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- + <property name="text" translatable="yes">mythconverg</property>
- + </widget>
- + <packing>
- + <property name="left_attach">1</property>
- + <property name="right_attach">2</property>
- + <property name="top_attach">1</property>
- + <property name="bottom_attach">2</property>
- + <property name="x_options"></property>
- + </packing>
- + </child>
- + <child>
- + <widget class="GtkEntry" id="mysql_password">
- + <property name="width_request">200</property>
- + <property name="visible">True</property>
- + <property name="can_focus">True</property>
- + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- + <property name="visibility">False</property>
- + </widget>
- + <packing>
- + <property name="left_attach">1</property>
- + <property name="right_attach">2</property>
- + <property name="top_attach">3</property>
- + <property name="bottom_attach">4</property>
- + <property name="x_options"></property>
- + </packing>
- + </child>
- + <child>
- + <widget class="GtkEntry" id="mysql_user">
- + <property name="width_request">200</property>
- + <property name="visible">True</property>
- + <property name="can_focus">True</property>
- + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- + <property name="text" translatable="yes">mythtv</property>
- + </widget>
- + <packing>
- + <property name="left_attach">1</property>
- + <property name="right_attach">2</property>
- + <property name="top_attach">2</property>
- + <property name="bottom_attach">3</property>
- + <property name="x_options"></property>
- + </packing>
- + </child>
- + <child>
- + <widget class="GtkEntry" id="mysql_server">
- + <property name="width_request">200</property>
- + <property name="visible">True</property>
- + <property name="can_focus">True</property>
- + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- + </widget>
- + <packing>
- + <property name="left_attach">1</property>
- + <property name="right_attach">2</property>
- + <property name="x_options"></property>
- + </packing>
- + </child>
- + <child>
- + <widget class="GtkLabel" id="mysql_password_label">
- + <property name="width_request">400</property>
- + <property name="visible">True</property>
- + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- + <property name="xalign">0</property>
- + <property name="xpad">10</property>
- + <property name="label" translatable="yes">MySQL Password</property>
- + </widget>
- + <packing>
- + <property name="top_attach">3</property>
- + <property name="bottom_attach">4</property>
- + <property name="x_options"></property>
- + </packing>
- + </child>
- + <child>
- + <widget class="GtkLabel" id="mysql_user_label">
- + <property name="width_request">400</property>
- + <property name="visible">True</property>
- + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- + <property name="xalign">0</property>
- + <property name="xpad">10</property>
- + <property name="label" translatable="yes">MySQL User Name </property>
- + </widget>
- + <packing>
- + <property name="top_attach">2</property>
- + <property name="bottom_attach">3</property>
- + <property name="x_options"></property>
- + </packing>
- + </child>
- + <child>
- + <widget class="GtkLabel" id="mysql_database_label">
- + <property name="width_request">400</property>
- + <property name="visible">True</property>
- + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- + <property name="xalign">0</property>
- + <property name="xpad">10</property>
- + <property name="label" translatable="yes">MySQL Database</property>
- + </widget>
- + <packing>
- + <property name="top_attach">1</property>
- + <property name="bottom_attach">2</property>
- + <property name="x_options"></property>
- + </packing>
- + </child>
- + <child>
- + <widget class="GtkLabel" id="mysql_server_label">
- + <property name="width_request">400</property>
- + <property name="visible">True</property>
- + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- + <property name="xalign">0</property>
- + <property name="xpad">10</property>
- + <property name="label" translatable="yes">MySQL Server</property>
- + </widget>
- + <packing>
- + <property name="x_options"></property>
- </packing>
- </child>
- </widget>
- @@ -533,10 +187,70 @@
- <property name="position">2</property>
- </packing>
- </child>
- + <child>
- + <widget class="GtkHBox" id="hbox1">
- + <property name="width_request">400</property>
- + <property name="visible">True</property>
- + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- + <child>
- + <widget class="GtkAlignment" id="alignment1">
- + <property name="width_request">150</property>
- + <property name="visible">True</property>
- + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- + <property name="xalign">0</property>
- + <property name="xscale">0.039999999105930328</property>
- + <child>
- + <widget class="GtkButton" id="connectiontest_button">
- + <property name="visible">True</property>
- + <property name="can_focus">True</property>
- + <property name="receives_default">True</property>
- + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- + <property name="label" translatable="yes">Test Connection</property>
- + <property name="xalign">0</property>
- + <property name="response_id">0</property>
- + <signal name="clicked" handler="do_connection_test"/>
- + </widget>
- + </child>
- + </widget>
- + <packing>
- + <property name="expand">False</property>
- + <property name="fill">False</property>
- + </packing>
- + </child>
- + <child>
- + <widget class="GtkLabel" id="connection_results_label">
- + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- + <property name="xalign">1</property>
- + <property name="label" translatable="yes">Connection Results:</property>
- + </widget>
- + <packing>
- + <property name="padding">10</property>
- + <property name="position">1</property>
- + </packing>
- + </child>
- + <child>
- + <widget class="GtkLabel" id="connection_results">
- + <property name="width_request">200</property>
- + <property name="visible">True</property>
- + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- + <property name="xalign">0</property>
- + <property name="label" translatable="yes">Please <b>Test</b> your connection to proceed.</property>
- + <property name="use_markup">True</property>
- + <property name="wrap">True</property>
- + </widget>
- + <packing>
- + <property name="position">2</property>
- + </packing>
- + </child>
- + </widget>
- + <packing>
- + <property name="position">3</property>
- + </packing>
- + </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- - <property name="padding">6</property>
- + <property name="fill">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- === modified file 'gui/glade/mythbuntu_stepServices.glade'
- --- gui/glade/mythbuntu_stepServices.glade 2008-08-08 14:22:31 +0000
- +++ gui/glade/mythbuntu_stepServices.glade 2009-02-27 07:17:19 +0000
- @@ -1,6 +1,6 @@
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
- <!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
- -<!--Generated with glade3 3.3.3 on Thu Aug 23 23:57:49 2007 -->
- +<!--Generated with glade3 3.4.5 on Fri Feb 27 01:17:19 2009 -->
- <glade-interface>
- <widget class="GtkWindow" id="dummy_window">
- <property name="visible">True</property>
- @@ -53,125 +53,36 @@
- </packing>
- </child>
- <child>
- - <widget class="GtkVBox" id="vbox1">
- + <widget class="GtkHBox" id="vnc_option_hbox">
- <property name="visible">True</property>
- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="spacing">10</property>
- <child>
- - <widget class="GtkHBox" id="vnc_option_hbox">
- + <widget class="GtkCheckButton" id="enablevnc">
- <property name="visible">True</property>
- + <property name="can_focus">True</property>
- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <child>
- - <widget class="GtkCheckButton" id="enablevnc">
- - <property name="visible">True</property>
- - <property name="can_focus">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="label" translatable="yes">VNC Service</property>
- - <property name="response_id">0</property>
- - <property name="draw_indicator">True</property>
- - <signal name="toggled" handler="toggle_enablevnc"/>
- - </widget>
- - <packing>
- - <property name="expand">False</property>
- - </packing>
- - </child>
- - <child>
- - <widget class="GtkLabel" id="enablevnc_label">
- - <property name="width_request">500</property>
- - <property name="visible">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="xalign">0</property>
- - <property name="label" translatable="yes">VNC is a very commonly used protocol for graphical remote administration and control of a machine.</property>
- - <property name="wrap">True</property>
- - </widget>
- - <packing>
- - <property name="expand">False</property>
- - <property name="fill">False</property>
- - <property name="padding">32</property>
- - <property name="position">1</property>
- - </packing>
- - </child>
- + <property name="label" translatable="yes">VNC Service</property>
- + <property name="response_id">0</property>
- + <property name="draw_indicator">True</property>
- + <signal name="toggled" handler="toggle_enablevnc"/>
- </widget>
- <packing>
- <property name="expand">False</property>
- - <property name="fill">False</property>
- </packing>
- </child>
- <child>
- - <widget class="GtkHBox" id="vnc_pass_hbox">
- + <widget class="GtkLabel" id="enablevnc_label">
- + <property name="width_request">500</property>
- <property name="visible">True</property>
- - <property name="sensitive">False</property>
- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <child>
- - <widget class="GtkVBox" id="vbox2">
- - <property name="visible">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <child>
- - <widget class="GtkLabel" id="vnc_pass_label">
- - <property name="width_request">400</property>
- - <property name="visible">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="xalign">0</property>
- - <property name="label" translatable="yes">Enter a password to be used: </property>
- - <property name="use_markup">True</property>
- - <property name="wrap">True</property>
- - </widget>
- - <packing>
- - <property name="expand">False</property>
- - </packing>
- - </child>
- - <child>
- - <widget class="GtkLabel" id="vnc_pass_warning">
- - <property name="width_request">400</property>
- - <property name="visible">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="xalign">0</property>
- - <property name="label" translatable="yes"><b>Note</b>: This password must be at least 6 characters.</property>
- - <property name="use_markup">True</property>
- - <property name="wrap">True</property>
- - </widget>
- - <packing>
- - <property name="expand">False</property>
- - <property name="fill">False</property>
- - <property name="position">1</property>
- - </packing>
- - </child>
- - </widget>
- - <packing>
- - <property name="expand">False</property>
- - <property name="fill">False</property>
- - </packing>
- - </child>
- - <child>
- - <widget class="GtkEntry" id="vnc_password">
- - <property name="width_request">200</property>
- - <property name="visible">True</property>
- - <property name="can_focus">True</property>
- - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- - <property name="visibility">False</property>
- - <signal name="changed" handler="mythbuntu_password"/>
- - </widget>
- - <packing>
- - <property name="expand">False</property>
- - <property name="fill">False</property>
- - <property name="position">1</property>
- - </packing>
- - </child>
- - <child>
- - <widget class="GtkImage" id="vnc_error_image">
- - <property name="visible">True</property>
- - <property name="stock">gtk-dialog-error</property>
- - </widget>
- - <packing>
- - <property name="expand">False</property>
- - <property name="fill">False</property>
- - <property name="position">2</property>
- - </packing>
- - </child>
- + <property name="xalign">0</property>
- + <property name="label" translatable="yes">VNC is a very commonly used protocol for graphical remote administration and control of a machine.</property>
- + <property name="wrap">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- + <property name="padding">32</property>
- <property name="position">1</property>
- </packing>
- </child>
- @@ -331,7 +242,7 @@
- <property name="visible">True</property>
- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="xalign">0</property>
- - <property name="label" translatable="yes">If you will be using a remote Frontend or Backend, you will need to enable MythTV on your ethernet interface. Be sure to also enable a root MySQL password if you choose this option.</property>
- + <property name="label" translatable="yes">If you will be using a remote Frontend or Backend, you will need to enable MythTV on your ethernet interface.</property>
- <property name="use_markup">True</property>
- <property name="wrap">True</property>
- </widget>
- === modified file 'scripts/mythbuntu/ask-mythbuntu'
- --- scripts/mythbuntu/ask-mythbuntu 2009-02-14 19:20:57 +0000
- +++ scripts/mythbuntu/ask-mythbuntu 2009-02-27 06:39:07 +0000
- @@ -38,8 +38,6 @@
- db_input high mythtv/mysql_mythtv_password || true
- db_input high mythtv/mysql_mythtv_dbname || true
- db_input high mythtv/mysql_host || true
- - #root password
- - db_input high mythtv/mysql_admin_password || true
- #mythweb htaccess
- db_input high mythweb/enable || true
- db_input high mythweb/username || true
- === modified file 'scripts/mythbuntu/mythbuntu_install.py'
- --- scripts/mythbuntu/mythbuntu_install.py 2009-02-14 23:51:16 +0000
- +++ scripts/mythbuntu/mythbuntu_install.py 2009-02-27 15:36:25 +0000
- @@ -57,11 +57,18 @@
- def configure_user(self):
- """Configures by the regular user configuration stuff
- followed by mythbuntu specific user addons"""
- +
- + #Before beginning, set the initial root sql pass to the user pass
- + self.passwd=self.db.get('passwd/user-password')
- + self.set_debconf('mythtv/mysql_admin_password',self.passwd)
- + self.set_debconf('mysql-server/root_password',self.passwd)
- + self.set_debconf('mysql-server/root_password_again',self.passwd)
- +
- #Regular ubuntu user configuration
- ParentInstall.configure_user(self)
- #We'll be needing the username, uid, gid
- - user = self.db.get('passwd/username')
- + self.user = self.db.get('passwd/username')
- self.uid = self.gid = ''
- try:
- self.uid = self.db.get('passwd/user-uid')
- @@ -81,7 +88,7 @@
- self.gid = int(self.gid)
- #Create a .mythtv directory
- - home_mythtv_dir = self.target + '/home/' + user + '/.mythtv'
- + home_mythtv_dir = self.target + '/home/' + self.user + '/.mythtv'
- if not os.path.isdir(home_mythtv_dir):
- #in case someone made a symlink or file for the directory
- if os.path.islink(home_mythtv_dir) or os.path.exists(home_mythtv_dir):
- @@ -102,7 +109,7 @@
- #mythtv.desktop autostart
- if 'Frontend' in self.type:
- - config_dir = self.target + '/home/' + user + '/.config'
- + config_dir = self.target + '/home/' + self.user + '/.config'
- autostart_dir = config_dir + '/autostart'
- autostart_link = autostart_dir + '/mythtv.desktop'
- if not os.path.isdir(config_dir):
- @@ -120,7 +127,7 @@
- pass
- #mythtv group membership
- - self.chrex('adduser', user, 'mythtv')
- + self.chrex('adduser', self.user, 'mythtv')
- def configure_ma(self):
- """Overrides module assistant configuration method. Mythbuntu doesn't
- @@ -129,15 +136,10 @@
- self.db.progress('INFO', 'ubiquity/install/mythbuntu')
- #Copy a few debconf questions that were answered in the installer
- - for question in ('mythweb/enable','mythweb/username','mythweb/password',\
- - 'mythtv/mysql_mythtv_user','mythtv/mysql_mythtv_password',\
- - 'mythtv/mysql_mythtv_dbname','mythtv/mysql_host',\
- - 'mythtv/mysql_admin_password'):
- + for question in ('mythtv/mysql_mythtv_user','mythtv/mysql_mythtv_password',\
- + 'mythtv/mysql_mythtv_dbname','mythtv/mysql_host'):
- answer=self.db.get(question)
- self.set_debconf(question,answer)
- - if question == 'mythtv/mysql_admin_password':
- - self.set_debconf('mysql-server/root_password',answer)
- - self.set_debconf('mysql-server/root_password_again',answer)
- #Setup mysql.txt nicely
- os.remove(self.target + '/etc/mythtv/mysql.txt')
- @@ -156,8 +158,11 @@
- self.chrex('invoke-rc.d','mysql','stop')
- self.chrex('umount', '/proc')
- - #Set up authentication on mythweb if necessary
- - self.reconfigure('mythweb')
- + #Mythweb
- + self.set_debconf('mythweb/enable', 'true')
- + self.set_debconf('mythweb/username', self.user)
- + self.set_debconf('mythweb/password', self.passwd)
- + self.reconfigure('mythweb')
- def install_extras(self):
- """Overrides main install_extras function to add in Mythbuntu
- @@ -219,8 +224,8 @@
- bind-address=0.0.0.0"""
- f.close()
- if self.db.get('mythbuntu/x11vnc') == 'true':
- - self.vnc.create_password(self.db.get('mythbuntu/x11vnc_password'))
- - directory = self.target + '/home/' + self.db.get('passwd/username') + '/.vnc'
- + self.vnc.create_password(self.passwd)
- + directory = self.target + '/home/' + self.user + '/.vnc'
- if not os.path.exists(directory):
- os.mkdir(directory)
- shutil.move('/root/.vnc/passwd', directory + '/passwd')
- === modified file 'ubiquity/components/mythbuntu.py'
- --- ubiquity/components/mythbuntu.py 2009-02-14 19:20:57 +0000
- +++ ubiquity/components/mythbuntu.py 2009-02-27 07:35:21 +0000
- @@ -65,7 +65,6 @@
- FilteredCommand.ok_handler(self)
- class MythbuntuPasswords(FilteredCommand):
- -#we are seeding passwords and whether to enable mythweb
- def prepare(self):
- #mythtv passwords
- @@ -77,14 +76,6 @@
- self.frontend.set_password(this_password,answer)
- questions.append('^mythtv/' + this_password)
- - #mythweb passwords
- - passwords = self.frontend.get_mythweb_passwords()
- - for this_password in passwords:
- - answer = self.db.get('mythweb/' + this_password)
- - if answer != '':
- - self.frontend.set_password(this_password,answer)
- - questions.append('^mythweb/' + this_password)
- -
- return (['/usr/share/ubiquity/ask-mythbuntu','passwords'], questions)
- def ok_handler(self):
- @@ -93,14 +84,6 @@
- for this_password in passwords:
- self.preseed('mythtv/' + this_password, passwords[this_password])
- - #mythweb passwords
- - passwords = self.frontend.get_mythweb_passwords()
- - for this_password in passwords:
- - if passwords[this_password] is True or passwords[this_password] is False:
- - self.preseed_bool('mythweb/' + this_password, passwords[this_password])
- - else:
- - self.preseed('mythweb/' + this_password, passwords[this_password])
- -
- FilteredCommand.ok_handler(self)
- class MythbuntuRemote(FilteredCommand):
- === modified file 'ubiquity/frontend/mythbuntu_ui.py'
- --- ubiquity/frontend/mythbuntu_ui.py 2009-02-14 17:55:55 +0000
- +++ ubiquity/frontend/mythbuntu_ui.py 2009-02-27 16:52:38 +0000
- @@ -150,6 +150,7 @@
- self.allow_go_forward(False)
- elif n == 'MythbuntuServices':
- cur = self.mythbuntu_stepServices
- + self.vnc_option_hbox.set_sensitive(len(self.get_password()) >= 6)
- else:
- ParentFrontend.Wizard.set_page(self,n)
- return
- @@ -206,49 +207,6 @@
- new_pass_caller = subprocess.Popen(['pwgen','-s','8'],stdout=subprocess.PIPE)
- self.mysql_password.set_text(string.split(new_pass_caller.communicate()[0])[0])
- - def mythbuntu_password(self,widget):
- - """Checks that certain passwords meet requirements"""
- - #For the services page, the only password we have is the VNC
- - if (widget is not None and widget.get_name() == 'vnc_password'):
- - password= widget.get_text().split(' ')[0]
- - if len(password) >= 6:
- - self.allow_go_forward(True)
- - self.allow_go_backward(True)
- - self.vnc_error_image.hide()
- - else:
- - self.allow_go_forward(False)
- - self.allow_go_backward(False)
- - self.vnc_error_image.show()
- - elif (widget is not None and widget.get_name() == 'mythweb_username'):
- - username = widget.get_text().split(' ')[0]
- - if len(username) >= 1:
- - self.mythweb_user_error_image.hide()
- - else:
- - self.mythweb_user_error_image.show()
- - elif (widget is not None and widget.get_name() == 'mythweb_password'):
- - password = widget.get_text().split(' ')[0]
- - if len(password) >= 1:
- - self.mythweb_pass_error_image.hide()
- - else:
- - self.mythweb_pass_error_image.show()
- -
- - elif (widget is not None and widget.get_name() == 'mysql_root_password'):
- - password = widget.get_text().split(' ')[0]
- - if len(password) >= 1:
- - self.mysql_root_error_image.hide()
- - else:
- - self.mysql_root_error_image.show()
- -
- - #The password check page is much more complex. Pieces have to be
- - #done in a sequential order
- - if (self.usemysqlrootpassword.get_active() or self.usemythwebpassword.get_active()):
- - mysql_root_flag = self.mysql_root_error_image.flags() & gtk.VISIBLE
- - mythweb_user_flag = self.mythweb_user_error_image.flags() & gtk.VISIBLE
- - mythweb_pass_flag = self.mythweb_pass_error_image.flags() & gtk.VISIBLE
- - result = not (mythweb_user_flag | mythweb_pass_flag | mysql_root_flag)
- - self.allow_go_forward(result)
- - self.allow_go_backward(result)
- -
- def do_mythtv_setup(self,widget):
- """Spawn MythTV-Setup binary."""
- self.live_installer.hide()
- @@ -294,7 +252,7 @@
- def set_service(self,name,value):
- """Preseeds the status of a service"""
- - lists = [get_services_dictionary(self),{"x11vnc_password":self.vnc_password}]
- + lists = [get_services_dictionary(self)]
- self._preseed_list(lists,name,value)
- def set_driver(self,name,value):
- @@ -306,14 +264,10 @@
- def set_password(self,name,value):
- """Preseeds a password"""
- - lists = [{'mysql_admin_password':self.mysql_root_password,
- - 'mysql_mythtv_user':self.mysql_user,
- + lists = [{'mysql_mythtv_user':self.mysql_user,
- 'mysql_mythtv_password':self.mysql_password,
- 'mysql_mythtv_dbname':self.mysql_database,
- - 'mysql_host':self.mysql_server},
- - {'enable':self.usemythwebpassword,
- - 'username':self.mythweb_username,
- - 'password':self.mythweb_password}]
- + 'mysql_host':self.mysql_server}]
- self._preseed_list(lists,name,value)
- def set_lirc(self,question,answer):
- @@ -394,7 +348,7 @@
- def get_services(self):
- """Returns the status of all installable services"""
- - return self._build_static_list([get_services_dictionary(self),{'x11vnc_password':self.vnc_password}])
- + return self._build_static_list([get_services_dictionary(self)])
- def get_drivers(self):
- video_drivers=get_graphics_dictionary()
- @@ -408,17 +362,11 @@
- 'tvstandard': self.tvoutstandard}])
- def get_mythtv_passwords(self):
- - return self._build_static_list([{'mysql_admin_password':self.mysql_root_password,
- - 'mysql_mythtv_user':self.mysql_user,
- + return self._build_static_list([{'mysql_mythtv_user':self.mysql_user,
- 'mysql_mythtv_password':self.mysql_password,
- 'mysql_mythtv_dbname':self.mysql_database,
- 'mysql_host':self.mysql_server}])
- - def get_mythweb_passwords(self):
- - return self._build_static_list([{'enable':self.usemythwebpassword,
- - 'username':self.mythweb_username,
- - 'password':self.mythweb_password}])
- -
- def get_lirc(self,type):
- item = {"modules":"","device":"","driver":"","lircd_conf":""}
- if type == "remote":
- @@ -432,20 +380,6 @@
- ##################
- #Called when a widget changes and other GUI elements need to react
- - def toggle_enablevnc(self,widget):
- - """Called when the checkbox to turn on VNC is toggled"""
- - if (self.enablevnc.get_active()):
- - self.vnc_pass_hbox.set_sensitive(True)
- - self.allow_go_forward(False)
- - self.allow_go_backward(False)
- - self.vnc_error_image.show()
- - else:
- - self.vnc_pass_hbox.set_sensitive(False)
- - self.vnc_password.set_text("")
- - self.allow_go_forward(True)
- - self.allow_go_backward(True)
- - self.vnc_error_image.hide()
- -
- def toggle_tv_out (self,widget):
- """Called when the tv-out type is toggled"""
- if (self.tvouttype.get_active() == 0):
- @@ -482,23 +416,17 @@
- """Called whenever a custom type is toggled"""
- if "Master" in self.get_installtype():
- - self.master_backend_expander.hide()
- - self.mysql_server_expander.show()
- self.mysql_option_hbox.show()
- else:
- self.enablemysql.set_active(False)
- - self.master_backend_expander.show()
- - self.mysql_server_expander.hide()
- self.mysql_option_hbox.hide()
- if "Backend" in self.get_installtype():
- - self.mythweb_expander.show()
- self.samba_option_hbox.show()
- self.nfs_option_hbox.show()
- else:
- self.enablesamba.set_active(False)
- self.enablenfs.set_active(False)
- - self.mythweb_expander.hide()
- self.samba_option_hbox.hide()
- self.nfs_option_hbox.hide()
- @@ -531,36 +459,3 @@
- elif widget.get_name() == 'transmitter_list':
- if self.transmitter_list.get_active() == 0:
- self.transmittercontrol.set_active(False)
- -
- - def usemythwebpassword_toggled(self,widget):
- - """Called when the checkbox to set a mythweb password is pressed"""
- - if (self.usemythwebpassword.get_active()):
- - self.mythweb_table.show()
- - self.allow_go_forward(False)
- - self.allow_go_backward(False)
- - self.mythweb_user_error_image.show()
- - self.mythweb_pass_error_image.show()
- - else:
- - self.mythweb_table.hide()
- - self.mythweb_password.set_text("")
- - self.mythweb_username.set_text("")
- - self.mythweb_user_error_image.hide()
- - self.mythweb_pass_error_image.hide()
- - if (not self.usemysqlrootpassword.get_active() or not self.mysql_root_error_image.flags() & gtk.VISIBLE):
- - self.allow_go_forward(True)
- - self.allow_go_backward(True)
- -
- - def usemysqlrootpassword_toggled(self,widget):
- - """Called when the checkbox to set a MySQL root password is pressed"""
- - if (self.usemysqlrootpassword.get_active()):
- - self.mysql_server_hbox.show()
- - self.allow_go_forward(False)
- - self.allow_go_backward(False)
- - self.mysql_root_error_image.show()
- - else:
- - self.mysql_server_hbox.hide()
- - self.mysql_root_password.set_text("")
- - self.mysql_root_error_image.hide()
- - if (not self.usemythwebpassword.get_active() or ((not self.mythweb_pass_error_image.flags() & gtk.VISIBLE) and (not self.mythweb_user_error_image.flags() & gtk.VISIBLE))):
- - self.allow_go_forward(True)
- - self.allow_go_backward(True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement