-
Committer:
Ryan Harper
-
Date:
2016-11-15 15:12:36 UTC
-
mfrom:
(430.1.1 trunk)
-
Revision ID:
ryan.harper@canonical.com-20161115151236-6phf6skmtlftuozl
block: fix partition kname for raid devices
mdadm RAID1 supports partitioning of the md device and utilizes
the 'p' char to name partitions: md0p1, md0p2 etc.
- Fix by adding 'md' to curtin/block:partition_kname
- Update block unittest to test/check md names
- Introduce a new vmtest to exercise partitioning RAID1 disks
(test_mdadm_bcache.py:TestMirrorbootPartitions)