Commit Graph

12 Commits

Author SHA1 Message Date
Marcus Schäfer
6cc0b2085d Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
Marcus Schäfer
88686d3253
Make sure there is a storage default setup on s390
Storage disks on s390 requires an information about the
type and the blocksize. In case these information is not
provided in the kiwi XML configuration, None was set as
value in the zipl configuration which lead to an error.
This commit provides default values for those parameters
2017-01-19 14:47:27 +01:00
Bo Maryniuk
06b95b727d Replace 'builtins.open' with patch_open decorator 2016-06-07 17:54:24 +02:00
Marcus Schäfer
e6cc5bfa09 Move from nose to pytest
nose is no longer maintained, thus we have to move to another
testing system. This commit updates the tox setup and all tests
to use pytest instead of nose.
2016-03-14 12:23:14 +01:00
Marcus Schäfer
d0fa83681f
Added support for using dracut initrd
As of today only the kiwi initrd could be used with an image
build. This commit adds a new initrd_system attribute and
allows to select between kiwi and dracut as initrd system.
Please note the dracut initrd does not support all features
of the kiwi initrd. This fixes #25
2016-02-29 20:52:25 +01:00
Thomas Schraitle
45bc5a03a7 Refactor into subpackage to fix #23
Codecoverage are 100% and tests are green

Changes:
* Refactor archive_*.py -> archive subpackage
* Refactor partitioner_*.py -> partitioner subpackage
* Refactor package_manager_*.py -> package_manager/ subpackage
* Refactor bootloader_config*.py -> bootloader/config/ subpackage
* Refactor bootloader_template*.py -> bootloader/template/ subpackage
* Refactor bootloader_install*.py -> bootloader/install/ subpackage
* Refactor repository*.py -> repository/ subpackage
* Refactor filesystem*.py -> filesystem/ subpackage
* Refactor dist_*.py -> dist/dformat subpackage
  The name `dformat` as package name is needed to avoid any name
  conflicts with the built-in function `format`.
* Refactor volume_manager*.py -> volume_manager/ subpackage
* Refactor boot_image*.py -> boot/image/ subpackage
2016-02-27 10:31:31 +01:00
Marcus Schäfer
40e6308aa9 Port application from python 2.7 to 3.4
For new applications like this kiwi version and its use cases
it is better to base it on a more recent python version
2016-02-17 22:38:38 +01:00
Marcus Schäfer
bc7b0d6af9 Change default ec2 root_cmdline_parameter
For ec2 based firmware the value root=UUID=x is provided
instead of a static device node
2016-02-11 11:19:57 +01:00
Marcus Schäfer
56af5925f9 Fixed zipl bootloader setup and install
quote special characters in title for menu. refactor the
zipl bootloader install class to know about the boot partition
device node
2016-01-25 11:47:41 +01:00
Marcus Schäfer
bd9d23385d Fixed missing setup_disk_boot_images for zipl
The interface class implements this with a raise condition
by default. For zipl no bootloader images needs to be created
Thus implement the method and pass
2016-01-25 10:34:41 +01:00
Marcus Schäfer
9fc642b1f8
Added BootLoaderInstallZipl class 2016-01-24 21:29:06 +01:00
Marcus Schäfer
ccdfc108da
Finished BootLoaderConfigZipl class and tests 2016-01-22 15:48:02 +01:00