Skip to content

Commit

Permalink
- improved subvolume shadow test (see fate #316222)
Browse files Browse the repository at this point in the history
  • Loading branch information
aschnell committed Mar 27, 2014
1 parent 333f518 commit 419df42
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/include/partitioning/custom_part_check_generated.rb
Expand Up @@ -138,8 +138,11 @@ def check_created_partition_table(targetMap, installation)
targetMap.each do |dev, disk|
parts = disk.fetch("partitions", [])
parts.each do |part|
if part.fetch("mount", "") == tmp
root_subvols_shadowed = true
if part.has_key?("mount")
mp = part["mount"]
if (tmp == mp) || (tmp.start_with?(mp) && tmp[mp.size] == "/")
root_subvols_shadowed = true
end
end
end
end
Expand Down

0 comments on commit 419df42

Please sign in to comment.