diff options
-rw-r--r-- | dispatch.py | 4 | ||||
-rw-r--r-- | packages.py | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/dispatch.py b/dispatch.py index 9cf3e6d15..e9d016fd1 100644 --- a/dispatch.py +++ b/dispatch.py @@ -106,8 +106,8 @@ installSteps = [ ("confirmupgrade", ()), ("install", ("dir", "intf", "id")), ("enablefilesystems", turnOnFilesystems, ("dir", "id.fsset", - "id.diskset", "id.upgrade", - "instPath")), + "id.diskset", "id.partitions", + "id.upgrade", "instPath")), ("migratefilesystems", doMigrateFilesystems, ("dir", "id.fsset", "id.diskset", "id.upgrade", "instPath")), diff --git a/packages.py b/packages.py index 6a61980e0..744287f5a 100644 --- a/packages.py +++ b/packages.py @@ -366,13 +366,14 @@ def doMigrateFilesystems(dir, thefsset, diskset, upgrade, instPath): thefsset.migrateFilesystems (instPath) -def turnOnFilesystems(dir, thefsset, diskset, upgrade, instPath): +def turnOnFilesystems(dir, thefsset, diskset, partitions, upgrade, instPath): if dir == DISPATCH_BACK: thefsset.umountFilesystems(instPath) return if flags.setupFilesystems: if not upgrade.get(): + partitions.doMetaDeletes() thefsset.setActive(diskset) if not thefsset.isActive(): diskset.savePartitions () |