1
0
mirror of https://github.com/coreos/fedora-coreos-config.git synced 2026-02-05 09:45:30 +01:00

tests: update ext.config.boot.bootupd to check grub version

The change is according to grub2 update:
https://bodhi.fedoraproject.org/updates/FEDORA-2025-e5c1f79161
This commit is contained in:
Huijing Hei
2025-08-27 13:49:39 +08:00
parent 4f921e0205
commit eef01945af

View File

@@ -22,10 +22,10 @@ case "$(arch)" in
aarch64|x86_64)
# on these arches, we always expect state files to exist
check_state_file=1
# aarch64 (and x86_64) uses uefi firmware, should check grub2-efi
# aarch64 (and x86_64) uses uefi firmware, should check grub2
evr=$(rpm -q grub2-common --qf '%{EVR}')
if ! bootupctl status | grep "grub2-efi-.*-${evr}"; then
fatal "bootupctl status output should include grub2-efi package version"
if ! bootupctl status | grep "${evr}"; then
fatal "bootupctl status output should include grub2 package version"
fi
;;
ppc64le)