diff options
Diffstat (limited to 'storage/devicetree.py')
-rw-r--r-- | storage/devicetree.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/storage/devicetree.py b/storage/devicetree.py index 8ecf81530..83d756ba9 100644 --- a/storage/devicetree.py +++ b/storage/devicetree.py @@ -676,6 +676,14 @@ class DeviceTree(object): log.debug("cmp: %d -- %s | %s" % (ret, a1, a2)) return ret + # setup actions to create any extended partitions we added + for device in self.devices: + if isinstance(device, PartitionDevice) and \ + device.isExtended and not device.exists: + # don't properly register the action since the device is + # already in the tree + self._actions.append(ActionCreateDevice(device)) + for action in self._actions: log.debug("action: %s" % action) |