Commit Graph

10 Commits

Author SHA1 Message Date
David Cassany
c21570ac7b
Add the possibility to disable runtime checks
This commit adds runtime configuration parameters to disable the runtime
checks. This is specially handy if someone does not want to use the kiwi
dracut modules and provide custom ones instead. In orde disable some
runtime check consider a runtime config yaml like:

runtime_checks:
    - disable:
        - check_dracut_module_for_oem_install_in_package_list
        - check_dracut_module_for_live_iso_in_package_list

This commit fixes #893
2019-04-02 16:00:03 +02:00
Marcus Schäfer
49dbc2f2cc Activate reading of runtime config in tasks
Implement reading of runtime configuration file in base
commandline class. Issue #373
2017-06-19 09:45:00 +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
David Cassany
b3932de0a0 Convert user input to absolute paths
This commit converts the paths provided by the user with the
command line to absolute paths. The effected arguments are:
* --root
* --target-dir
* --bundle-dir

This supersedes and fixes #271
2017-03-24 17:24:13 +01:00
Marcus Schäfer
6cc0b2085d Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
Marcus Schäfer
c91820aa27 Cleanup unit tests using sys.argv
The tests should restore to the default argv option set
as provided by the test_helper
2016-10-25 17:51:57 +02:00
Marcus Schäfer
319fb9e6e4
Adapt to common python style
Private methods should start with _f() not __f()
2016-06-15 16:27:45 +02:00
Marcus Schäfer
183d34172b
Integrate runtime checks for tasks
Call appropriate runtime checks for prepare, create
and build tasks. Fixes #20
2016-05-08 18:52:32 +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
1ab40fa33a
Continue Refactor into subpackage
Move task classes into tasks namespace
2016-03-08 16:21:00 +01:00