Skip to content

Commit

Permalink
Fixed/added some comments regarding subvolumes handling
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Nov 2, 2016
1 parent 6cd40b1 commit 16e41e7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/autoyast-rnc/general.rnc
Expand Up @@ -27,6 +27,7 @@ general = element general {
element storage {
element partition_alignment { SYMBOL }? &
element start_multipath { BOOLEAN }? &
# FATE#317775: support for arbitraty Btrfs subvolume structure
element btrfs_set_default_subvolume_name { BOOLEAN }?
}? &
element wait {
Expand Down
1 change: 1 addition & 0 deletions src/autoyast-rnc/partitioning.rnc
Expand Up @@ -120,6 +120,7 @@ subvolume =
subvolume_full =
element subvolume {
element path { text } &
# FATE#320342: add support to enable copy-on-write for Btrfs subvolumes
element copy_on_write { BOOLEAN }?
}

Expand Down
3 changes: 2 additions & 1 deletion src/include/autoinstall/autopart.rb
Expand Up @@ -35,7 +35,8 @@ def AddSubvolData(st_map, xml_map)
Ops.set(
ret,
"subvol",
# Convert from "vol" or {"name" => "vol", "options" => "nocow" } to { "name" => "x", "nocow" => true}
# Convert from "vol" or {"name" => "vol", "copy_on_write" => false }
# to { "name" => "vol", "nocow" => true}
xml_map.fetch("subvolumes", []).map { |s| import_subvolume(s, sv_prep) }.compact
)
end
Expand Down

0 comments on commit 16e41e7

Please sign in to comment.