Jesse Pretorius
dab1dfa930
Add console output to serial when using grub
2014-03-31 14:16:16 +02:00
Anders Ingemann
ca13d66b16
losetup dependency was suggesting wrong package
2014-03-22 15:13:43 +01:00
Anders Ingemann
cdd372ca3b
Zerofree can be installed as a Debian package
...
Show alternate message when package string for host_dependencies starts with http:// or https://
2014-02-27 23:03:24 +01: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
5cff8f9b1d
Use `type' to check if command available. Fixes #11
2014-02-27 23:03:23 +01:00
Anders Ingemann
739e22e929
Translate release names into codenames. Fixes #15
2014-02-27 23:03:23 +01:00
Anders Ingemann
ff968c3869
PEP8 compliance
2014-02-27 23:02:58 +01:00
Anders Ingemann
46dbe9e8c6
Move AKI info into JSON file. Fixes #13
...
Also introduced config_get() to retrieve a specific value from
these JSON files. Comments are now supported in those files as well
2014-02-27 23:02:58 +01:00
Anders Ingemann
cb011dabf3
Minor cleanup in network module
2014-02-27 23:02:57 +01:00
James Bromberger
1ef9d07118
Permit referring to Jessie as 'jessie', not just as 'testing' (as when Jessie goes stable in a year, we dont want to be then updating this build script).
2014-02-08 16:28:52 +00:00
James Brombegrer
b64ad495ab
Only delete files form the image if they exist. Add in an HVM manifest file.
2014-02-07 17:42:45 +00:00
Anders Ingemann
d11989f976
Append newline to network config
2014-02-03 17:25:49 +01:00
Tomasz Rybak
f3195b5f6b
Add example testing manifest and configuration, fix apt sources configuration.
2014-01-25 16:49:59 +01:00
Tomasz Rybak
99ae9988ff
Add testing distribution and ability to use non-main sections.
2014-01-25 15:52: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
f16939eef5
Extlinux now works on virtualbox
...
Raise error when trying to install grub on unpartitioned disks
2014-01-18 21:40:09 +01:00
Anders Ingemann
35d6140cb1
fstab must exist before installing bootloader
2014-01-18 21:38:39 +01:00
Anders Ingemann
218936d09e
Don't accept indexed arguments in FSMProxy methods
2014-01-18 16:37:07 +01:00
Anders Ingemann
8165297a02
Generalize link_dm_node() it works for all devices
...
Also accept some new parameters to adjust offsets and startsecotrs when creating the disk mapping
2014-01-18 16:36:41 +01:00
Anders Ingemann
150073e354
Log stdin in log_call
2014-01-15 21:15:06 +01:00
Anders Ingemann
0cfda1bdb5
Simpler json network config by auto inserting \n
2014-01-15 21:13:36 +01:00
Anders Ingemann
319c6e655a
Simplify package matching
2014-01-14 08:53:46 +01:00
root
2a3dd42e87
fix local package installation
2014-01-13 11:21:34 +01:00
Tomasz Rybak
3bc47f69f7
Fix unstable package repository and network configuration.
2014-01-12 21:24:03 +01:00
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
7eaec5ec4d
Fix bug where local package installation failed
2014-01-09 21:28:38 +01:00
Anders Ingemann
0a7d97a53a
Remove comment from loopbackvolume
2014-01-09 20:43:45 +01:00
Anders Ingemann
065e6fdb5c
Collect all missing host pkgs before erroring out
2014-01-09 17:23:25 +01:00
Anders Ingemann
f4a00b7eb1
Remove hardcoded .vdi in QEMUVolume exceptions
2014-01-09 17:23:02 +01:00
Anders Ingemann
ebd8f71fdb
Fix bug in packages stanza ( fixes #126 )
...
Created 3 new tasks:
AddManifestSources
AddRemoteManifestPackages
AddLocalManifestPackages
They are added independently depending on what is specified in the manifest.
2014-01-09 17:21:29 +01:00
Anders Ingemann
d7f859b76f
Remove unnecessary dependencies
2014-01-06 23:01:48 +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
039a35a344
Fix bug in ManifestError __str__ function
...
+ some formatting fixes
2014-01-06 22:58:21 +01:00
Anders Ingemann
e1881da2bc
Simplify tasklist by passing a set to the modules
2014-01-06 22:58:21 +01:00
Anders Ingemann
a4ead02a9b
Remove provider specific manifests
...
Manifest and module loading has been refactored
Provider modules now must implement validate_manifest like plugins do
Simplified loading of manifests
2014-01-05 14:03:04 +01:00
Anders Ingemann
27c0346455
Minor import stmt and dependency fix
2014-01-05 02:25:29 +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
2b5664b0b2
Add `assets' variable to task __init__ files
2014-01-05 02:25:27 +01:00
Anders Ingemann
9a525628a2
Print some more helpful messages on apt failure
2014-01-05 02:25:27 +01:00
Anders Ingemann
7afd04f1c9
Distinguish between bootstrap and apt mirror
...
They can both be set independently now.
If the bootstrap mirror is not set, it falls back to the apt mirror,
which in turn falls back to the geo redirector.
2014-01-05 02:25:27 +01:00
Anders Ingemann
569f6fd505
`quoted'' ->
quoted'
2014-01-05 02:25:26 +01:00
Anders Ingemann
a50db30185
Don't install recommended packages
2014-01-05 02:25:26 +01:00
Anders Ingemann
e388078de7
Make InstallRemotePkgs task a little more helpful
2014-01-05 02:25:25 +01:00
Anders Ingemann
0612987fec
New task: AddDefaultSources
2014-01-05 02:25:23 +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
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
1d69f65a7f
Support for vmdk disk format
2013-12-29 16:50:22 +01:00
Anders Ingemann
51041f6aa2
Generalize VirtualBoxVolume, introduce QEMUVolume
2013-12-29 16:50:22 +01:00