Skip to content

Commit

Permalink
Add Bcache elements to the partitioning section schema (#497)
Browse files Browse the repository at this point in the history
* Add Bcache elements to the partitioning section schema
  • Loading branch information
imobachgs committed Mar 14, 2019
1 parent bad80a9 commit 20bf1d0
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
7 changes: 7 additions & 0 deletions package/autoyast2.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Mar 8 12:59:05 UTC 2019 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>

- Add Bcache related elements to the partitioning schema
(fate#325346).
- 4.1.3

-------------------------------------------------------------------
Fri Feb 22 16:40:30 UTC 2019 - dgonzalez@suse.com

Expand Down
2 changes: 1 addition & 1 deletion package/autoyast2.spec
Expand Up @@ -22,7 +22,7 @@
%endif

Name: autoyast2
Version: 4.1.2
Version: 4.1.3
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
14 changes: 12 additions & 2 deletions src/autoyast-rnc/partitioning.rnc
Expand Up @@ -21,7 +21,8 @@ drive =
element enable_snapshots { BOOLEAN }? &
skip_list? &
partitions? &
raid_options?
raid_options? &
bcache_options?
}

skip_list =
Expand Down Expand Up @@ -78,6 +79,8 @@ y2_partition =
| raid_options
| subvolumes
| create_subvolumes
| bcache_backing_for
| bcache_caching_for

partition = element partition { y2_partition* }
part_create =
Expand Down Expand Up @@ -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*
Expand Down Expand Up @@ -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 }*
}

0 comments on commit 20bf1d0

Please sign in to comment.