diff -u mythbuntu-control-centre-0.28/debian/changelog mythbuntu-control-centre-0.28/debian/changelog --- mythbuntu-control-centre-0.28/debian/changelog +++ mythbuntu-control-centre-0.28/debian/changelog @@ -1,3 +1,11 @@ +mythbuntu-control-centre (0.28-0ubuntu1~hardy2) hardy-proposed; urgency=low + + * diskless tab: fix typo which prevented the "Allow unsigned packages" checkbox from + applying successfully. (LP: #221921) + * diskless tab: Pop up an error message if ltsp-build-client fails. + + -- Michael Haas Thu, 15 May 2008 13:06:40 +0200 + mythbuntu-control-centre (0.28-0ubuntu1~hardy1) hardy-proposed; urgency=low * add MCC_DEBUG environment variable. set to "true" to get additional only in patch2: unchanged: --- mythbuntu-control-centre-0.28.orig/MythbuntuControlCentre/changer.py +++ mythbuntu-control-centre-0.28/MythbuntuControlCentre/changer.py @@ -399,7 +399,7 @@ elif item == "diskless_pen": diskless_pen = self.to_reconfigure[item] elif item == "diskless_sign": - diskless_signed = self.to_reconfigure[item] + diskless_sign = self.to_reconfigure[item] elif item == "diskless_arch": diskless_arch = self.to_reconfigure[item] elif item == "diskless_wol": @@ -1024,6 +1024,20 @@ progbar.set_fraction(step) fraction = step + status = pp.wait() + if os.WIFEXITED(status): + exit_code = os.WEXITSTATUS(status) + if exit_code != 0: + header = _("Error building image") + e = _("ltsp-build-client failed with exit code ") + str(exit_code) + _(".\nMaybe you need to enable the \"Allow unsigned packages\" checkbox?") + self.show_alert(gtk.MESSAGE_INFO, header, e, None, + parent=self.progress_dialog) + elif os.WIFSIGNALED(status): + header = _("Error building image") + e = _("ltsp-build-client failed with signal ") + str(os.WTERMSIG(status)) + self.show_alert(gtk.MESSAGE_INFO, header, e, None, + parent=self.progress_dialog) + progbar.set_fraction(1.0) progbar.set_text('LTSP Setup Done...')