KIWI - Appliance Builder Next Generation
EL8 fork
In https://github.com/OSInside/kiwi/pull/2921 , based on the commit message and the fact that the code uses an `if`, it's pretty clear the use of `dracut --printconfig` is meant to be optional. But setting the misleadingly-named `raise_on_error` to `True` means it isn't. `raise_on_error` makes `has_option_in_help` raise an exception if it *fails* - doesn't find the specified flag - not if it *errors*. Since it does not handle the exception, this code crashes if dracut does not have the argument: https://koji.fedoraproject.org/koji/taskinfo?taskID=141808928 DEBUG util.py:459: [ ERROR ]: 06:03:28 | KiwiCommandCapabilitiesError: Could not parse dracut output I've sent https://github.com/OSInside/kiwi/pull/2943 to make the message less of a lie, and this makes us stop crashing if the arg isn't available. Signed-off-by: Adam Williamson <awilliam@redhat.com> |
||
|---|---|---|
| .github | ||
| build-tests | ||
| doc | ||
| dracut/modules.d | ||
| helper | ||
| kiwi | ||
| package | ||
| test | ||
| .bumpversion.cfg | ||
| .codacy.yml | ||
| .gitattributes | ||
| .gitignore | ||
| .gitlab-ci-disabled.yml | ||
| .mailmap | ||
| .obs_test | ||
| .obs_test_status | ||
| build-tests.sh | ||
| kiwi.yml | ||
| LICENSE | ||
| Makefile | ||
| pyproject.toml | ||
| README.rst | ||
| setup.cfg | ||
KIWI - Next Generation ====================== .. |GitHub Action Code Style| image:: https://github.com/OSInside/kiwi/actions/workflows/ci-code-style.yml/badge.svg :target: https://github.com/OSInside/kiwi/actions .. |GitHub Action Config Functions| image:: https://github.com/OSInside/kiwi/actions/workflows/ci-config-functions.yml/badge.svg :target: https://github.com/OSInside/kiwi/actions .. |GitHub Action Documentation| image:: https://github.com/OSInside/kiwi/actions/workflows/ci-documentation.yml/badge.svg :target: https://github.com/OSInside/kiwi/actions .. |GitHub Action Publish Pages| image:: https://github.com/OSInside/kiwi/actions/workflows/ci-publish-pages.yml/badge.svg :target: https://github.com/OSInside/kiwi/actions .. |GitHub Action Publish PyPi| image:: https://github.com/OSInside/kiwi/actions/workflows/ci-publish-to-pypi.yml/badge.svg :target: https://github.com/OSInside/kiwi/actions .. |GitHub Action Unit Types| image:: https://github.com/OSInside/kiwi/actions/workflows/ci-units-types.yml/badge.svg :target: https://github.com/OSInside/kiwi/actions .. |Health| image:: https://app.codacy.com/project/badge/Grade/228f7e8cd15d448688a590c272ec3789 :target: https://www.codacy.com/gh/OSInside/kiwi/dashboard?utm_source=github.com&utm_medium=referral&utm_content=OSInside/kiwi&utm_campaign=Badge_Grade .. |Doc| replace:: `Documentation <https://osinside.github.io/kiwi/>`__ .. |Installation| replace:: `Installation <https://osinside.github.io/kiwi/installation.html>`__ .. |Contributing| replace:: `Contributing <https://osinside.github.io/kiwi/contributing.html>`__ .. |IntegrationTesting| replace:: `Integration Testing <https://osinside.github.io/kiwi/integration_testing.html>`__ .. |Donate| image:: https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif :target: https://www.paypal.com/donate/?hosted_button_id=CYZY57A7Q4TCC |GitHub Action Code Style| |GitHub Action Config Functions| |GitHub Action Documentation| |GitHub Action Publish Pages| |GitHub Action Publish PyPi| |GitHub Action Unit Types| |Health| **KIWI, the OS image and appliance builder.** * |Installation| * |IntegrationTesting| * |Contributing| * |Doc| KIWI has helped you in your work ? Even the smallest gift is a way to help that we don't run out of coffee :) |Donate|