bifrost/releasenotes/notes/fixes-checksum-parsing-82c04ff1bb575c51.yaml
Will Szumski 7446da03e8 Fix checksum parsing for Cirros and Rocky Linux
For Rocky Linux, the checksum file format differs from Ubuntu.  The
current awk expression failed to extract the correct checksum and would
instead output SHA256. This caused checksum validation to fail. A
similar issue exists for CirrOS which uses the MD5 algorithm.

Changes the logic to first extract the line with the corresponding
image name and then searches for a string that looks like a checksum
within that line.

Closes-Bug: #2081031
Change-Id: Id426db0ad418898a2ebe9f2b5001945520dc6b1d
2024-10-11 13:00:13 +01:00

7 lines
151 B
YAML

---
fixes:
- |
Fixes an issue with checksum verification when setting
``upstream_deploy_image_distribution`` to ``rocky`` or
``cirros``.