openSUSE/kiwi — pull request #305 by rjschwei (2014-01-21 00:17:03+00:00)
Title: It's a start

- Change the way we create an EC2 image
+ Previously we created an EC2 image as a flat filesystem image
this requred some special codeing and we ended up calling mkinitrd
from within kiwi. As mkinitrd evolved to require a live root filesystem
and with the impending move to dracut we need to start using a kiwi
generated initrd. Therefore, EC2 image will now be created as disk
images just like other vmx images. We also drop the use of the
external ec2-ami-tools. Creating abundle is relatively easy and this
functionality requires people to add thei EC2 credentials to the config
file. That makes it easy to accidentally share private information.
+ Remove XML elemnts ec2config and its children
ec2accountnr, ec2certfile, ec2privatekeyfile, ec2region
+ Introduce "ec2" as a firmware option
we need this to set the partition table to be gpt instead of msdos
+ Print an error message for format="ec2" during XML validation
we maintain format="ec2" in the schema for now to allow us to generate
a more sensible error message than the parser would. This is an
incompatible schema change
+ Remove EC2 region check in Validator
+ Remove KIWIEC2Region.txt
+ Update unit tests
+ Properly pass the boottimeout setting to the initrd config
+ Remove the XMLEC2Data object and its unit tests
+ Remove special code for EC2 initrd creation calling mkinitrd