Commit graph

14 commits

Author SHA1 Message Date
Anders Ingemann
f62c8ade99 Convert indentation from tabs to spaces (4)
Up until now I didn't see the point of using spaces for indentation.
However, the previous commit (a18bec3) was quite eye opening.
Given that python is an indentation aware language, the amount of
mistakes that went unnoticed because tabs and spaces were used
at the same time (tabs for indentation and spaces for alignment)
were unacceptable.

E101,W191 have been re-enable in the tox flake8 checker and
the documentation has been modified accordingly.

The following files have been left as-is:
* bootstrapvz/common/assets/extlinux/extlinux.conf
* bootstrapvz/common/assets/init.d/expand-root
* bootstrapvz/common/assets/init.d/generate-ssh-hostkeys
* bootstrapvz/common/assets/init.d/squeeze/generate-ssh-hostkeys
* bootstrapvz/plugins/docker_daemon/assets/init.d/docker
* bootstrapvz/providers/ec2/assets/bin/growpart
* bootstrapvz/providers/ec2/assets/grub.d/40_custom
* bootstrapvz/providers/ec2/assets/init.d/ec2-get-credentials
* bootstrapvz/providers/ec2/assets/init.d/ec2-run-user-data
* docs/_static/taskoverview.coffee
* docs/_static/taskoverview.less
* tests/unit/subprocess.sh
2016-06-04 11:38:16 +02:00
Anders Ingemann
50297d790c Fix problem with 1 MiB too large volume when combining gpt and grub 2015-04-16 22:22:47 +02:00
Anders Ingemann
4cbc8e4f8e Related to 26bb907, both gpt and msdos partitions need the 1 sector gap now 2015-04-16 22:21:45 +02:00
Anders Ingemann
a62ce1705a Remove the PartitionGap class, it's way too much of a hassle to work with
Instead pad_start and pad_end have been introduced
2015-04-16 22:21:44 +02:00
Anders Ingemann
e5dd68acc7 Extlinux booting on gpt now working 2015-04-16 22:21:44 +02:00
Anders Ingemann
9a50cea204 Add 1 sector gap between partitions on GPT 2015-04-16 22:21:44 +02:00
Anders Ingemann
4d74c72d99 Simplify GPT a little by explicitly taking care of the GPT primary & secondary
Do the math for the GPT offset a little differently
2015-04-16 22:21:44 +02:00
Anders Ingemann
a476248ed6 Partition volumes by sectors instead of bytes
This allows for finer grained control over the partition sizes and gaps
2015-04-16 22:21:13 +02:00
Anders Ingemann
ee3fe0bf42 Convert param docs into parseable format. 2014-05-04 19:31:53 +02:00
Anders Ingemann
2ebacf6a3a Fix MBR offset and add some comments to explain 2014-05-04 13:41:16 +02:00
Anders Ingemann
a9558a729a Make the gpt_offset fiddling easier to understand 2014-05-04 13:41:16 +02:00
Anders Ingemann
bbb06d717e Properly fix imports and make bootstrapvz work like a package 2014-04-02 21:32:10 +02:00
Anders Ingemann
6d757d2598 relative imports fixed 2014-04-02 21:26:14 +02:00
Anders Ingemann
be96e4c13f Move code into proper package folder 2014-04-02 21:26:13 +02:00
Renamed from base/fs/partitionmaps/gpt.py (Browse further)