Commit graph

24 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
01208c61b5 Subtract gpt_offset from first real partition
... and not from grub_boot
2014-02-03 17:25:50 +01:00
Anders Ingemann
e20c7f9391 The grub partition for GPT only needs 1007KiB 2014-01-19 13:21:35 +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
3c39ac6734 Minor changes to GPT and grub support 2014-01-19 10:46:59 +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
889812b1ad Rename MBR partition table to MSDOS
Calling it MBR is just confusing
2014-01-18 23:27:52 +01:00
Anders Ingemann
8b5bc77650 Fallback values in a prettier way 2014-01-05 02:25:29 +01:00
Anders Ingemann
293557827f Fix PEP8 style fixes 2013-12-14 23:18:43 +01:00
Anders Ingemann
637f49904a Move swap partition before root 2013-12-14 23:18:40 +01:00
Anders Ingemann
970cbfccf2 Fix bug when fetching fsm state 2013-12-14 23:18:39 +01:00
Anders Ingemann
0fdcc2e27b Fix bug when no boot partition is specified 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
fb0fa1e94e Unmap partitions 2013-10-27 18:11:55 +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
3c32310346 Remove mountpoints from partitions 2013-10-27 18:11:54 +01:00
Anders Ingemann
ecdc255752 Simplify FSM framework. Only model relevant states 2013-10-27 18:11:53 +01:00
Anders Ingemann
8aefa93646 Remove map and unmap methods on singlepartitionmap 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