Anders Ingemann
be96e4c13f
Move code into proper package folder
2014-04-02 21:26:13 +02:00
Anders Ingemann
ca13d66b16
losetup dependency was suggesting wrong package
2014-03-22 15:13:43 +01:00
Anders Ingemann
0ef1d3ab69
Split up RequiredCommands task.
...
The requirements are now located in the appropriate modules
2014-02-27 23:03:23 +01:00
Anders Ingemann
0092e1c2c2
Don't instantiate tasks
...
In practice they are just typed functions with attributes, having a reference to an object is just confusing.
So: Task.run() is now a classmethod
2014-01-06 22:58:21 +01:00
Anders Ingemann
8d32339fda
Introduced a global manifest_vars dictionary
...
All manifest entries can now be accessed from the manifest itself
2013-12-29 20:58:06 +01:00
Anders Ingemann
91cff897c8
MoveImage task now uses image.name from manifest
2013-12-29 16:50:21 +01:00
Anders Ingemann
663b868b41
Fix #107 . Rename before and after task properties
...
`before' becomes `successors' and `after' becomes `predecessors'
2013-11-22 09:03:47 +01:00
Anders Ingemann
53991bdad7
Rename loopback image to volume
2013-10-27 18:11:52 +01:00
Anders Ingemann
a9c465cf8c
Minor fixes to paths
2013-10-27 18:11:14 +01:00
Anders Ingemann
0eb5eecfc2
Place everything in info.workspace
...
instead of spreading files all around the disk
2013-10-27 18:11:13 +01:00
Anders Ingemann
9cb4b3e375
Rename mount_dir to workspace
...
We'll be using it for a bucnh of different things in the future
2013-10-27 18:11:13 +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
Anders Ingemann
b5c5acf5b1
PEP8-ify things.
2013-08-17 17:28:46 +02:00
Anders Ingemann
e1fc5ea972
Use long options wherever possible.
...
This makes the code a lot easier to understand
2013-08-17 15:00:53 +00:00
Anders Ingemann
e4e6035eb2
Attach image to loopdevice in one command
2013-08-17 16:38:43 +02:00
Anders Ingemann
e5d3b4ac65
Fix loopback tasks ordering
2013-08-11 18:26:01 +02:00
Anders Ingemann
7e32263315
Generalize parted feature
...
Remove filesystem module from ONE tasks
2013-08-10 20:03:20 +02:00
Anders Ingemann
9de7793a92
Move filesystem and loopback task modules to common
2013-08-10 16:38:45 +02:00