#!/bin/bash## kola:## exclusive: false## description: Verify initrd is compressed with zstd.## If dracut can't find the configured compressor, it warns and falls back to# gzip (!). Fail if the initrd isn't compressed with zstd.set -xeuo pipefail# shellcheck disable=SC1091. "$KOLA_EXT_DATA/commonlib.sh"# Check initrd for zstd magic numberif ! LANG=C grep -aUPq "\x28\xb5\x2f\xfd" /boot/ostree/*/init*; thenfatal "Didn't find zstd compression in initrd"fiok "Found zstd compression in initrd"