Commit graph

36 commits

Author SHA1 Message Date
Anders Ingemann
45521b2377 Merge remote and local package array in manifest
This allows us to specify the order of installation for packages
Fixes #127
2014-01-12 12:46:59 +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
44f3296426 Extlinux support
The bootloader is now specified in the manifest
2014-01-05 02:25:28 +01:00
Anders Ingemann
b1195c5c3b Fail when guest add. install exits with $? != 1 2014-01-05 02:25:25 +01:00
Anders Ingemann
2e6478f8bb Automatically install correct linux headers for guest additions 2014-01-05 02:25:25 +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
d0ec90f491 Support installation of VirtualBox Guest Additions 2013-12-15 17:25:57 +01:00
Anders Ingemann
0a49901476 Implement hvm support for ec2 2013-12-14 23:18:41 +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
a397091e46 Generalize req. host package additions 2013-10-27 18:11:59 +01:00
Anders Ingemann
a07e02cfcc Add required packages in the right places 2013-10-27 18:11:58 +01:00
Anders Ingemann
b025f6ed35 Refactor remount() into common function 2013-10-27 18:11:57 +01:00
Anders Ingemann
6ddd8809a3 Partitioning fixes 2013-10-27 18:11:55 +01:00
Anders Ingemann
c78866f103 Take partitionmap into consideration in device.map
Simplify boot task a little
2013-10-27 18:11:55 +01:00
Anders Ingemann
8891a18e4b Remove mount_specials from FSM
It makes modelling the different states more complicated
2013-10-27 18:11:54 +01:00
Anders Ingemann
e740a3b4d8 Fix grub install 2013-10-27 18:11:54 +01:00
Anders Ingemann
4b2711893f Dont require package sysv-rc to be installed 2013-10-27 18:11:53 +01:00
Anders Ingemann
c744196d2f Fix required packages 2013-10-27 18:11:52 +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
6f05774d2c Try fixing grub, added some comments 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
Olivier Sallou
929a77b5a3 add missing kpartx package for Host 2013-09-09 22:50:00 +02:00
Anders Ingemann
b5c5acf5b1 PEP8-ify things. 2013-08-17 17:28:46 +02:00
Anders Ingemann
3630d72f0a Use absolute paths everywhere 2013-08-17 15:00:25 +00:00
Olivier Sallou
f6ce50d4f6 fix indentation 2013-08-13 10:45:35 +02:00
Olivier Sallou
b6d716d414 set full path for binaries 2013-08-13 10:44:18 +02:00
Olivier Sallou
3e11431353 fix grub/boot 2013-08-13 08:55:12 +02:00
Olivier Sallou
ee7ae81746 fix missing grub2 package 2013-08-12 16:06:56 +02:00
Anders Ingemann
f83b6e821f grub is not needed on the host system any longer 2013-08-11 23:59:01 +02:00
Anders Ingemann
7a93002b2d Parted tasks and grub installation working now 2013-08-11 23:03:44 +02: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
866b2a9242 Require kpartx 2013-08-11 18:33:49 +02:00
Anders Ingemann
04b879a53c Install grub to loop0 not loop0p1 2013-08-11 18:17:06 +02:00
Anders Ingemann
81a5069733 No need for virtualization stanza in virtualbox 2013-08-11 18:12:55 +02:00
Anders Ingemann
b4c963ea95 Revert merge of raw+ONE, rename ONE provider to virtualbox 2013-08-10 23:42:25 +02:00