Anders Ingemann
be96e4c13f
Move code into proper package folder
2014-04-02 21:26:13 +02:00
Anders Ingemann
851389da09
Rely on $PATH to resolve commands. Fixes #12
2014-02-27 23:03:23 +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
328b971289
GPT support for both extlinux and grub
2014-01-19 01:02:29 +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
0612987fec
New task: AddDefaultSources
2014-01-05 02:25:23 +01:00
Anders Ingemann
1c93094833
Integrated package plugin with base system
...
New phase introduced "package installation" (fixes #114 )
Apt source lines are now parsed, this allows to verify the target release of added packages.
All packages (except locales) are now installed *after* bootstrapping (fixes #123 )
Added env argument to log_(check_)call
HostDependencies have been refactored a little
2013-12-29 20:58:06 +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
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
854ab4f202
Make fstab more generic
2013-10-27 18:11:57 +01:00
Anders Ingemann
a3006fbe47
Fix humongous brainfart
2013-10-27 18:11:56 +01:00
Anders Ingemann
3dab414561
Final newline in fstab
2013-10-27 18:11:56 +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
efecc15382
VDI images working now
...
*Helpful error messages included
2013-10-27 18:11:13 +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
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
cecdeba45f
Remove virtio special case
...
Adding it later, once I figure out wth it is.
2013-08-11 19:47:14 +02:00
Anders Ingemann
e18cc4ca75
Fix imports
2013-08-11 18:00:19 +02:00
Anders Ingemann
7e32263315
Generalize parted feature
...
Remove filesystem module from ONE tasks
2013-08-10 20:03:20 +02:00
Anders Ingemann
b9e0714056
Specify filesystem when mounting
2013-08-10 19:27:18 +02:00
Anders Ingemann
9de7793a92
Move filesystem and loopback task modules to common
2013-08-10 16:38:45 +02:00