~wesley-wiedenmeier/curtin/nvme

  • Committer: Scott Moser
  • Date: 2016-02-12 17:41:37 UTC
  • mfrom: (349.2.5 curtin-1543263)
  • Revision ID: smoser@ubuntu.com-20160212174137-erf1y5vjp6qfhsed
partitioning: limited support for odd ordering of partition numbers

This fixes a bug in the partitioning code where it assumes that the
previous partition is numbered N-1. That is not always the case.
The change here is very focused on:
 a.) Being non-invasive.
 b.) fixing bug 1543263 and allowing maas to send configuration
     for power that "hides" the PReP partition as number 15
     so they don't have to really show it to the user.

Ultimately, we want to re-write the partitioning code to walk
through the storage config and correctly fill in number, start
and end for each entry. That is a more invasive and time-consuming
change though.

This also adds another disk to examples/tests/basic.yaml
and tests that it is partitioned as expected in
tests/vmtests/test_lvm.py
Filename Latest Rev Last Changed Committer Comment Size
..
bin 7 11 years ago Scott Moser initial stub multi-command Diff
curtin 7 11 years ago Scott Moser initial stub multi-command Diff
debian 9 11 years ago Scott Moser add initial packaging Diff
doc 2 11 years ago Scott Moser very rough initial doc using sphynx. Diff
examples 45 11 years ago Scott Moser add examples dir Diff
helpers 25 11 years ago Scott Moser block-meta simple now partitions with 'partition' Diff
tests 8 11 years ago Scott Moser make test (with 1 test) Diff
tools 8 11 years ago Scott Moser make test (with 1 test) Diff
.bzrignore 228 9 years ago Scott Moser add tox for easier testing 23 bytes Diff Download File
LICENSE 6 11 years ago Scott Moser add LICENSE file 33.7 KB Diff Download File
Makefile 318.1.1 9 years ago Scott Moser vmtests: invoke nosetests3 with --nologcapture Wh 932 bytes Diff Download File
README 1 11 years ago Scott Moser initial README 163 bytes Diff Download File
requirements.txt 333.1.1 9 years ago Scott Moser add running of pylint for python27 and python34 T 114 bytes Diff Download File
setup.py 254.1.1 9 years ago Scott Moser add reporter.legacy to modules 768 bytes Diff Download File
test-requirements.txt 333.1.1 9 years ago Scott Moser add running of pylint for python27 and python34 T 19 bytes Diff Download File
tox.ini 344.1.17 9 years ago Scott Moser tox.ini: tests/vmtests now depends on simplstreams 1.3 KB Diff Download File