Commit graph

18 commits

Author SHA1 Message Date
Anders Ingemann
da4b85c0c7 Everything in base/ is now commented. 2014-03-23 16:04:03 +01:00
Anders Ingemann
851389da09 Rely on $PATH to resolve commands. Fixes #12 2014-02-27 23:03:23 +01:00
Anders Ingemann
6e145f6aca Introduce format_command. Fixes #7 2014-02-27 23:02:58 +01:00
Anders Ingemann
a840dc28f3 MBR-gap, grub and GPT offset are now subtracted
automatically from the first available partition.
There is no need to fiddle with sizes while keeping the offsets in mind any longer.
Introduced Bytes() class which makes it a lot easier to handle size units.
2014-01-19 13:21:35 +01:00
Anders Ingemann
328b971289 GPT support for both extlinux and grub 2014-01-19 01:02:29 +01:00
Anders Ingemann
81a4ec78eb Post-MBR size increased to 2.
Also, move the size addition into the volume model
2014-01-18 23:35:21 +01:00
Anders Ingemann
1e97600013 Label GPT partitions 2014-01-18 23:27:52 +01:00
Anders Ingemann
889812b1ad Rename MBR partition table to MSDOS
Calling it MBR is just confusing
2014-01-18 23:27:52 +01:00
Anders Ingemann
293557827f Fix PEP8 style fixes 2013-12-14 23:18:43 +01:00
Anders Ingemann
2af0968156 Implement partition mounts.
This solves quite a few challenges with mounting directories into root etc.
2013-12-14 23:18:39 +01:00
Anders Ingemann
e1ab4dc1ae EC2 provider can now bootstrap EBS volumes again
Use tasksets in EC2 provider
2013-10-27 18:11:58 +01:00
Anders Ingemann
754e414742 Document post-mbr gap and make it MBR-only 2013-10-27 18:11:58 +01:00
Anders Ingemann
1bf61770d9 Access fsm states directly 2013-10-27 18:11:56 +01:00
Anders Ingemann
6ddd8809a3 Partitioning fixes 2013-10-27 18:11:55 +01:00
Anders Ingemann
387aa62750 Remove FSM from NoPartitions p-map
Don't set the volume device_path by calling 'create'
2013-10-27 18:11:55 +01:00
Anders Ingemann
ecdc255752 Simplify FSM framework. Only model relevant states 2013-10-27 18:11:53 +01:00
Anders Ingemann
d6502089e2 Implemented both MBR and GPT partitioning.
VirtualBox seems to not like GPT
2013-10-27 18:11:14 +01:00
Anders Ingemann
ff7c04c120 Support for partitions
MAJOR refactor. The volume is now abstracted into a model along with a partitionmap and partitions.
Volumes and partitions are now controlled via an FSM to ensure that commands are called in the proper sequence.
GRUB can now be installed properly onto loop devices by using dmsetup to fake a proper harddisk.
2013-10-27 18:11:12 +01:00