~raharper/curtin/trunk.lp1641661

Viewing all changes in revision 432.

  • 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)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: