added CI test for deb822

This commit is contained in:
Sampo Kivistö 2026-03-18 13:21:45 +02:00
parent fb6c5c0686
commit 75eaf46e42
No known key found for this signature in database
GPG key ID: 3B426F446F481CFF
2 changed files with 34 additions and 2 deletions

View file

@ -199,9 +199,10 @@ write_release_checksums() {
-printf '%P\n' \
| LC_ALL=C sort
)
echo ""
}
# `Release` is parsed as a single deb822 paragraph. Blank lines would split
# the checksum stanzas into separate paragraphs and make APT ignore them.
{
echo "Origin: ${origin}"
echo "Label: ${label}"
@ -211,7 +212,6 @@ write_release_checksums() {
echo "Architectures: ${architecture}"
echo "Components: ${component}"
echo "Description: ${description}"
echo ""
write_release_checksums "MD5Sum" md5sum
write_release_checksums "SHA256" sha256sum
write_release_checksums "SHA512" sha512sum