Commit Graph

10 Commits

Author SHA1 Message Date
Marcus Schäfer
753606ed11
Fixed custom_args argument assignment in BootImage
custom_args has been deleted from BootImageKiwi class
but was still passed in the Factory
2018-07-13 15:47:21 +02:00
Marcus Schäfer
77fa8de510
Make get_initrd_system a state method
Make sure the default initrd_system is set to dracut
for the vmx image type and to kiwi if no initrd_system
is specified. This allows to simplify other code parts
as we can trust there is a value set
2017-09-06 18:01:37 +02:00
Marcus Schäfer
cf85e577e7 Implement custom argument handling for xz_options
Evaluate and hand over custom_args processing for the
xz_options argument to all classes which performs
xz compression tasks. This Fixes #373
2017-06-20 09:24:56 +02:00
Marcus Schäfer
07356eba38 Refactor boot image factory
Make sure the root directory of the base image is always
accessible by any boot image type for consistency. In
addition introduce a post_init method which explicitly
setup the boot image root directory as needed for the
selected boot image type and document it as such
2017-06-12 23:14:21 +02:00
David Cassany
376e9daa58 Some fine tune updates
* Updated the docs for system_create command
* Reverted dracut image initialization
* Updated yum comment about repo_gpgcheck option
* Updated variable name in disk builder
* Typo correction
2017-05-31 15:41:11 +02:00
David Cassany
617859b3a4 Include signing-key feature for boot images
This commit extends the behavior of --signing-key options in order
to import the provided key file into the boot image, in addition to
the regular image root tree.

Related to #342
2017-05-31 10:04:06 +02:00
Marcus Schäfer
6cc0b2085d Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
Marcus Schäfer
368a9b1cbb Call dracut in system root tree
Change BootImageDracut class to call dracut in the specified
system root directory and not in a self prepared new root environment.
dracut reads scripts and dracut module configurations from the
installed system components, e.g kdump. Therefore calling it
from an isolated runtime environment creates an initrd which is
not matching the system components. Fixes bnc#1005246
2016-10-18 12:22:01 +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