Merge lp://staging/~raharper/curtin/trunk.lp1641661 into lp://staging/~curtin-dev/curtin/trunk

Proposed by Ryan Harper
Status: Merged
Merged at revision: 432
Proposed branch: lp://staging/~raharper/curtin/trunk.lp1641661
Merge into: lp://staging/~curtin-dev/curtin/trunk
Diff against target: 169 lines (+124/-1)
4 files modified
curtin/block/__init__.py (+1/-1)
examples/tests/mirrorboot-msdos-partition.yaml (+82/-0)
tests/unittests/test_block.py (+2/-0)
tests/vmtests/test_mdadm_bcache.py (+39/-0)
To merge this branch: bzr merge lp://staging/~raharper/curtin/trunk.lp1641661
Reviewer Review Type Date Requested Status
Scott Moser (community) Approve
Server Team CI bot continuous-integration Approve
Review via email: mp+311275@code.staging.launchpad.net

Commit message

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)

Description of the change

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)

To post a comment you must log in.
Revision history for this message
Ryan Harper (raharper) wrote :
Revision history for this message
Server Team CI bot (server-team-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Scott Moser (smoser) wrote :

lgtm.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches