debian-forge/tools
Tomáš Hozza ee3f0ab59a tools/osbuild-image-info: make read_boot_entries() more robust
`read_boot_entries()` could previously fail when trying to split lines
in bootloader entries, which contained only "\n" and became empty
string after stripping whitespace characters. This is the case e.g. on
F41 images.

Moreover, bootloader entries can contain comments as lines starting with
"#", which were previously not ignored by the function and would end up
in the parsed entry and could potentially fail to be split.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2025-01-04 10:37:05 +01:00
..
test Test: add unit test for osbuild-image-info's read_boot_entries() 2025-01-04 10:37:05 +01:00
check-runners tools: add "tools" dir to LINTABLES and fix issues 2023-11-13 10:10:12 +01:00
check-snapshots check-snapshots: add log info when a download fails 2024-02-20 14:52:23 -08:00
gen-stage-test-diff tools: make gen-stage-test-diff pylint clean 2024-02-20 14:52:23 -08:00
inline-source.py tools: add inline-source.py 2021-05-12 14:26:16 +02:00
lorax-template-pkgs.py osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
osbuild mpp: combine depsolve and import into mpp.py 2021-06-30 20:26:07 +01:00
osbuild-depsolve-dnf osbuild-depsolve-dnf: add SBOM support for DNF5 2024-12-02 23:24:39 +01:00
osbuild-dev lint: explicit check 2024-03-05 16:10:27 +01:00
osbuild-image-info tools/osbuild-image-info: make read_boot_entries() more robust 2025-01-04 10:37:05 +01:00
osbuild-json-seq-progress-example-renderer tools: add example json-seq render based on tqdm 2024-03-12 16:44:12 +01:00
osbuild-mpp osbuild-mpp: Fix error on python < 3.11 2024-11-27 00:06:08 +01:00
set-env-variables.sh tools: add set-env-variables.sh 2022-04-13 14:57:27 +02:00
solver-dnf.json osbuild-depsolve-dnf: refactor into osbuild.solver module 2024-08-01 08:57:30 +02:00
solver-dnf5.json osbuild-depsolve-dnf: refactor into osbuild.solver module 2024-08-01 08:57:30 +02:00
tree-diff tools/tree-diff: use null for timestamped files 2024-06-06 15:41:49 +01:00