Skip to content

Commit

Permalink
Merge pull request #2142 from ogayot/has-in-use-partitions-raid
Browse files Browse the repository at this point in the history
storage: also allow raid devices to match install-media: true
  • Loading branch information
ogayot authored Jan 23, 2025
2 parents 8a7770a + 84a219e commit b0b09f6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion subiquity/models/filesystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -1663,8 +1663,11 @@ def process_probe_data(self):
log.debug("%s is mounted", obj.path)
work = [obj]
while work:
# Go through the chain of dependencies, starting from the
# partition (or LV). We mark involved disks and raids as having
# in-use partitions.
o = work.pop(0)
if isinstance(o, Disk):
if isinstance(o, (Disk, Raid)):
o._has_in_use_partition = True
work.extend(dependencies(o))

Expand Down

0 comments on commit b0b09f6

Please sign in to comment.