Tomasz Rybak
f5eb071bec
Add minItems to ensure that we always have proper sources.list.
2014-01-25 17:08:35 +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
889812b1ad
Rename MBR partition table to MSDOS
...
Calling it MBR is just confusing
2014-01-18 23:27:52 +01:00
Tomasz Rybak
4b9d801734
Allow for building unstable release images.
2014-01-12 21:18:51 +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
f632e5efce
Verify lines in packages.sources
2014-01-09 17:24:47 +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
44f3296426
Extlinux support
...
The bootloader is now specified in the manifest
2014-01-05 02:25:28 +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
d9a7f3d1e4
Make plugins key a required manifest property
2014-01-05 02:25:26 +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
71be571f93
Fix #104 . Remove "enabled" from plugin manifests
2013-11-22 09:03:47 +01:00
Anders Ingemann
71adb3d04e
Manifest schema now validates partition definition
...
S3 partitioning is disallowed for now
2013-10-29 22:41:29 +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
5864665b1f
Make mirror param in manifest optional
2013-08-17 16:04:20 +02:00
Anders Ingemann
9de86b9b8a
Remove "mount_dir" from base manifest schema.
2013-08-17 16:04:20 +02:00
Anders Ingemann
38715df6e9
Remove "device" from base manifest-schema
...
What is it? It's not used anywhere?
2013-08-17 16:04:20 +02:00
Olivier Sallou
398a4da313
make mirror mandatory in manifest
2013-08-13 10:43:29 +02:00
Olivier Sallou
afa9352d85
set mirror in bootstrapper instead of image
2013-08-13 09:52:03 +02:00
Olivier Sallou
17876070a5
add mirror attribute
2013-07-10 15:43:39 +02:00
root
ed76870ec9
fix raw image creation
2013-07-10 14:42:03 +02:00
Anders Ingemann
311db52f7b
Ensure minimum volume size of 1M
2013-07-09 21:31:10 +02:00
Anders Ingemann
b92f70e548
bootstrap task implemented
2013-07-08 23:14:01 +02:00
Anders Ingemann
5418ac87ca
Move bootstrapdir requirement to main json schema
2013-07-08 23:14:01 +02:00
Anders Ingemann
1240294784
Validate volume size is an integer
2013-07-08 23:14:00 +02:00
Anders Ingemann
79a699a360
Better schema validation and errors
2013-07-08 23:13:59 +02:00