Patch by Masahiro Matsuya (slightly modified). Without this reset traceback happens when doing custompart -> create PV -> back -> autopart because partitioning reset in autopartitionexecute(DISPATCH_BACK) is skipped in this case. The fix means we will be doing reset twice when going back after autopartitioning which I think it is better than doing some step hackery or removing reset from autopartitonexecute(DISPATCH_BACK) which might break something I wouldn't notice in dispatch ways. --- iw/autopart_type.py | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/iw/autopart_type.py b/iw/autopart_type.py index 6ac1b2a..267eee6 100644 --- a/iw/autopart_type.py +++ b/iw/autopart_type.py @@ -271,6 +271,11 @@ class PartitionTypeWindow(InstallWindow): self.intf = anaconda.intf self.dispatch = anaconda.dispatch + if anaconda.dir == DISPATCH_BACK: + self.diskset.refreshDevices() + self.partitions.setFromDisk(self.diskset) + self.partitions.setProtected(anaconda.dispatch) + (self.xml, vbox) = gui.getGladeWidget("autopart.glade", "parttypeBox") self.combo = self.xml.get_widget("partitionTypeCombo") -- 1.6.0.6 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list