diff --git a/package/autoyast2.changes b/package/autoyast2.changes index b7df73fc6..86f86f758 100644 --- a/package/autoyast2.changes +++ b/package/autoyast2.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Mar 8 12:59:05 UTC 2019 - Imobach Gonzalez Sosa + +- Add Bcache related elements to the partitioning schema + (fate#325346). +- 4.1.3 + ------------------------------------------------------------------- Fri Feb 22 16:40:30 UTC 2019 - dgonzalez@suse.com diff --git a/package/autoyast2.spec b/package/autoyast2.spec index 01ca0a160..e0f305cb2 100644 --- a/package/autoyast2.spec +++ b/package/autoyast2.spec @@ -22,7 +22,7 @@ %endif Name: autoyast2 -Version: 4.1.2 +Version: 4.1.3 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff --git a/src/autoyast-rnc/partitioning.rnc b/src/autoyast-rnc/partitioning.rnc index e93a89765..a6eba0801 100644 --- a/src/autoyast-rnc/partitioning.rnc +++ b/src/autoyast-rnc/partitioning.rnc @@ -21,7 +21,8 @@ drive = element enable_snapshots { BOOLEAN }? & skip_list? & partitions? & - raid_options? + raid_options? & + bcache_options? } skip_list = @@ -78,6 +79,8 @@ y2_partition = | raid_options | subvolumes | create_subvolumes + | bcache_backing_for + | bcache_caching_for partition = element partition { y2_partition* } part_create = @@ -129,6 +132,9 @@ device_order = element device_order { element device { text }* } +cache_mode = element cache_mode { "writethrough" | "writeback" | "writearound" | "none" } +bcache_options = element bcache_options { cache_mode? } + subvolumes = element subvolumes { LIST, subvolume* @@ -184,4 +190,8 @@ part_size = element size { text } part_lv_name = element lv_name { text } part_lvm_group = element lvm_group { text } part_resize = element resize { BOOLEAN } - +bcache_backing_for = element bcache_backing_for { text } +bcache_caching_for = element bcache_caching_for { + LIST, + element listentry { text }* +}