kiwi-el8/kiwi/utils
Marcus Schäfer 0b13c48c21
Fixed logging behavior of Compress::get_format
The get_format() method allows to check which compression format
a given input stream has. This is done by calling the supported
compression tools in a row and let them check if they can deal
with the provided data or not. As a result error messages are
logged for streams that some tool doesn't understand. However,
those error messages are no errors and only the result of the
checking. This information in the kiwi log file is confusing
and several users already complained when they see information
like:

    EXEC: Failed with stderr: /usr/bin/xz: ...: File format not recognized

This commit changes how the compression tooling is called in a
way that no exception is raised (which leads to the above error message)
but the result returncode is used to decide on the success or
error of the respective compression tooling.
2024-07-12 15:29:37 +02:00
..
__init__.py Refactor data subpackage 2016-03-17 10:42:08 +01:00
block.py Fixed custom disk start sector setup 2022-07-07 12:21:08 +02:00
checksum.py Drop usage of factor from coreutils 2021-11-11 09:23:46 +01:00
codec.py Handle UnicodeDecode errors more gracefully 2021-07-20 15:27:55 +02:00
command_capabilities.py Add silent flag to CommandCapabilities 2024-02-27 21:06:19 +01:00
compress.py Fixed logging behavior of Compress::get_format 2024-07-12 15:29:37 +02:00
fstab.py Allow to enable volumes for filesystem check 2021-03-30 15:10:03 +02:00
os_release.py Fix reading of os-release file 2024-01-31 10:30:22 +01:00
output.py Moving temp data handling to its own namespace 2021-07-22 13:31:44 +02:00
primes.py Drop usage of factor from coreutils 2021-11-11 09:23:46 +01:00
rpm_database.py Make use of Path.which including root_dir parameter 2020-01-22 16:12:08 +01:00
rpm.py Do not create empty macros file 2020-02-18 14:08:30 +01:00
signature.py Add support for standalone dm integrity 2022-04-25 15:40:32 +02:00
size.py Stop inheriting from object 2019-08-22 15:43:27 +02:00
sync.py Fixed check for extended attributes 2023-07-25 17:24:36 +02:00
sysconfig.py Stop inheriting from object 2019-08-22 15:43:27 +02:00
temporary.py Fixed delta_root build 2024-03-07 15:50:58 +01:00
veritysetup.py Make verity metadata always readonly 2023-08-22 09:41:58 +02:00