~matsubara/curtin/jenkins

Viewing all changes in revision 295.

  • Committer: Scott Moser
  • Date: 2015-11-12 17:00:05 UTC
  • mfrom: (292.1.1 curtin)
  • Revision ID: smoser@ubuntu.com-20151112170005-31yvofcotvhsr8pz
Partition alignment and sizing fixes:

- end sector calculation so that partition size matches what was requested
- proper size of extended partition size calculation to be able to hold as
  much as it was specified in the yaml
- proper logical partition start calculation and realignment
- prepare curtin for the appearance of 4K logical sector size disk.
- by that implicitly fixing our alignment issues as long as sizes are
  aligned which they usually are as e.g. MAAS exposes only 1MB units
- extends one of the existing tests to cover 2G+3G logical in 5G extended

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: